Fix golang ci lint #147
Annotations
6 errors and 1 warning
lint:
discovery/root.go#L79
S1009: should omit nil check; len() for []*github.com/appclacks/cabourotte/discovery/http.HTTPDiscovery is defined as zero (gosimple)
|
lint:
discovery/root.go#L93
S1009: should omit nil check; len() for []*github.com/appclacks/cabourotte/discovery/http.HTTPDiscovery is defined as zero (gosimple)
|
lint:
daemon/root_test.go#L58
printf: non-constant format string in call to (*testing.common).Fatalf (govet)
|
lint:
daemon/root_test.go#L157
printf: non-constant format string in call to (*testing.common).Fatalf (govet)
|
lint:
healthcheck/command.go#L125
printf: non-constant format string in call to github.com/pkg/errors.Wrapf (govet)
|
lint
issues found
|
lint
Unexpected input(s) 'go-version-file', 'cache', valid inputs are ['go-version', 'check-latest', 'stable', 'token']
|