This job view page is being replaced by Spyglass soon. Check out the new job view.
PRmarquiz: scripts: make golangci-lint runnable in verify.sh
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2020-09-17 11:40
Elapsed1m13s
Revision8241f1c98f6c757df868918824e582f97c2d6c72
Refs 21

No Test Failures!


Error lines from build-log.txt

... skipping 5 lines ...
pkg/config/config.go:29:5: `log` is unused (deadcode)
var log = logf.Log.WithName("config")
    ^
pkg/controller/nodefeaturediscovery/nodefeaturediscovery_resources.go:38:5: `manifests` is unused (deadcode)
var manifests []assetsFromFile
    ^
pkg/controller/nodefeaturediscovery/nodefeaturediscovery_controller.go:141:10: Error return value of `nfd.init` is not checked (errcheck)
	nfd.init(r, instance)
	        ^
pkg/controller/nodefeaturediscovery/nodefeaturediscovery_state.go:49:10: Error return value of `addState` is not checked (errcheck)
	addState(n, "/opt/nfd/master")
	        ^
pkg/controller/nodefeaturediscovery/nodefeaturediscovery_state.go:50:10: Error return value of `addState` is not checked (errcheck)
	addState(n, "/opt/nfd/worker")
	        ^
pkg/controller/nodefeaturediscovery/nodefeaturediscovery_state.go:78:2: S1008: should use 'return n.idx == len(n.controls)' instead of 'if n.idx == len(n.controls) { return true }; return false' (gosimple)
	if n.idx == len(n.controls) {
	^
pkg/config/config.go:22:2: SA1019: package sigs.k8s.io/controller-runtime/pkg/runtime/log is deprecated: use pkg/log  (staticcheck)
... skipping 3 lines ...
	logf "sigs.k8s.io/controller-runtime/pkg/runtime/log"
	^
cmd/manager/main.go:36:2: SA1019: package sigs.k8s.io/controller-runtime/pkg/runtime/signals is deprecated: use pkg/manager/signals instead.  (staticcheck)
	"sigs.k8s.io/controller-runtime/pkg/runtime/signals"
	^
pkg/controller/nodefeaturediscovery/nodefeaturediscovery_state.go:73:14: func `NFD.validate` is unused (unused)
make: *** [Makefile:70: ci-lint] Error 1