fix pkg/util/coverage staticcheck

This commit is contained in:
Benjamin Elder 2020-06-23 00:40:51 -07:00
parent 4de511a4cf
commit d1ec9b3f9c
2 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,6 @@ pkg/controller/podautoscaler
pkg/controller/replicaset pkg/controller/replicaset
pkg/controller/resourcequota pkg/controller/resourcequota
pkg/controller/statefulset pkg/controller/statefulset
pkg/util/coverage
pkg/volume/azure_dd pkg/volume/azure_dd
pkg/volume/gcepd pkg/volume/gcepd
pkg/volume/rbd pkg/volume/rbd

View File

@ -23,6 +23,7 @@ import (
// This is an implementation of testing.testDeps. It doesn't need to do anything, because // This is an implementation of testing.testDeps. It doesn't need to do anything, because
// no tests are actually run. It does need a concrete implementation of at least ImportPath, // no tests are actually run. It does need a concrete implementation of at least ImportPath,
// which is called unconditionally when running tests. // which is called unconditionally when running tests.
//lint:ignore U1000 see comment above, we know it's unused normally.
type fakeTestDeps struct{} type fakeTestDeps struct{}
func (fakeTestDeps) ImportPath() string { func (fakeTestDeps) ImportPath() string {