Conditions on podupdater functions of kubernetes autodiscovery #133
Annotations
10 errors and 3 warnings
golangci-lint:
kubernetes/metadata/namespace.go#L46
File is not `goimports`-ed (goimports)
|
golangci-lint:
kubernetes/metadata/node.go#L45
File is not `goimports`-ed (goimports)
|
golangci-lint:
kubernetes/util.go#L24
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint:
kubernetes/util.go#L159
naked return in func `discoverInCluster` with 17 lines of code (nakedret)
|
golangci-lint:
kubernetes/util.go#L164
naked return in func `discoverInCluster` with 17 lines of code (nakedret)
|
golangci-lint:
kubernetes/util.go#L169
naked return in func `discoverInCluster` with 17 lines of code (nakedret)
|
golangci-lint:
kubernetes/util.go#L178
naked return in func `discoverByMachineID` with 20 lines of code (nakedret)
|
golangci-lint:
kubernetes/util.go#L184
naked return in func `discoverByMachineID` with 20 lines of code (nakedret)
|
golangci-lint:
kubernetes/watcher.go#L234
Error return value is not checked (errcheck)
|
golangci-lint
issues found
|
Post golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
Read .go-version file
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
The logs for this run have expired and are no longer available.
Loading