Merge pull request #147 from JackZxj/fix/dispatch-no-match-err #552
Annotations
10 errors
lint:
pkg/controllers/sync/version/manager.go#L103
SA4006: this value of `ok` is never used (staticcheck)
|
lint:
pkg/controllers/scheduler/framework/plugins/apiresources/apiresources.go#L1
Pattern ^(Copyright 20\d\d The Kubernetes Authors\.
|
lint:
pkg/controllers/scheduler/framework/plugins/apiresources/apiresources_test.go#L1
Missed header for check (goheader)
|
lint:
pkg/controllers/util/history/controller_history_test.go#L197
197-226 lines are duplicate of `pkg/controllers/util/history/controller_history_test.go:322-351` (dupl)
|
lint:
pkg/controllers/util/history/controller_history_test.go#L322
322-351 lines are duplicate of `pkg/controllers/util/history/controller_history_test.go:197-226` (dupl)
|
lint:
pkg/controllers/util/history/controller_history.go#L266
Error return value of `cache.ListAll` is not checked (errcheck)
|
lint:
pkg/controllers/util/history/controller_history_test.go#L122
Error return value of `(k8s.io/client-go/tools/cache.Store).Add` is not checked (errcheck)
|
lint:
pkg/controllers/util/history/controller_history_test.go#L250
Error return value of `(k8s.io/client-go/tools/cache.Store).Add` is not checked (errcheck)
|
lint:
pkg/controllers/util/history/controller_history.go#L341
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint:
pkg/controllers/util/history/controller_history_test.go#L1721
Consider pre-allocating `testMatchExpressions` (prealloc)
|