Skip to content

Fix golang ci lint #147

Fix golang ci lint

Fix golang ci lint #147

Triggered via push February 1, 2025 14:49
Status Failure
Total duration 40s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

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']