Fix #35 'kubectl logs -f' implemented #843
lint.yml
on: pull_request
lint
1m 34s
Check duplicated code
9s
Annotations
10 errors, 2 warnings, and 1 notice
lint:
pkg/interlink/api/logs.go#L99
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
pkg/virtualkubelet/execute.go#L396
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
pkg/virtualkubelet/execute.go#L407
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
pkg/interlink/api/logs.go#L101
var-naming: var logHttpClient should be logHTTPClient (revive)
|
lint:
pkg/interlink/api/handler.go#L163
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
lint:
pkg/interlink/api/handler.go#L62
var-naming: func parameter logHttpClient should be logHTTPClient (revive)
|
lint:
pkg/interlink/api/handler.go#L101
var-naming: var errHttp should be errHTTP (revive)
|
lint:
pkg/virtualkubelet/execute.go#L398
var-naming: var logHttpClient should be logHTTPClient (revive)
|
lint:
pkg/interlink/api/handler.go#L148
unnecessary conversion (unconvert)
|
lint
issues found
|
Check duplicated code
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check duplicated code
repository contains 2 duplications.
0 duplications were part of this PR and were annotated
|