Conditions on podupdater functions of kubernetes autodiscovery #133
Annotations
10 errors and 3 warnings
lint:
kubernetes/metadata/namespace.go#L46
File is not `goimports`-ed (goimports)
|
lint:
kubernetes/metadata/node.go#L45
File is not `goimports`-ed (goimports)
|
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)
|
lint:
kubernetes/util.go#L159
naked return in func `discoverInCluster` with 17 lines of code (nakedret)
|
lint:
kubernetes/util.go#L164
naked return in func `discoverInCluster` with 17 lines of code (nakedret)
|
lint:
kubernetes/util.go#L169
naked return in func `discoverInCluster` with 17 lines of code (nakedret)
|
lint:
kubernetes/util.go#L178
naked return in func `discoverByMachineID` with 20 lines of code (nakedret)
|
lint:
kubernetes/util.go#L184
naked return in func `discoverByMachineID` with 20 lines of code (nakedret)
|
lint:
kubernetes/watcher.go#L234
Error return value is not checked (errcheck)
|
lint
issues found
|
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']
|
lint
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/
|
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']
|