Skip to content

Commit d1ec9b3

Browse files
committed
fix pkg/util/coverage staticcheck
1 parent 4de511a commit d1ec9b3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

hack/.staticcheck_failures

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ pkg/controller/podautoscaler
66
pkg/controller/replicaset
77
pkg/controller/resourcequota
88
pkg/controller/statefulset
9-
pkg/util/coverage
109
pkg/volume/azure_dd
1110
pkg/volume/gcepd
1211
pkg/volume/rbd

pkg/util/coverage/fake_test_deps.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
// This is an implementation of testing.testDeps. It doesn't need to do anything, because
2424
// no tests are actually run. It does need a concrete implementation of at least ImportPath,
2525
// which is called unconditionally when running tests.
26+
//lint:ignore U1000 see comment above, we know it's unused normally.
2627
type fakeTestDeps struct{}
2728

2829
func (fakeTestDeps) ImportPath() string {

0 commit comments

Comments
 (0)