mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
fix pkg/util/coverage staticcheck
This commit is contained in:
parent
4de511a4cf
commit
d1ec9b3f9c
@ -6,7 +6,6 @@ pkg/controller/podautoscaler
|
||||
pkg/controller/replicaset
|
||||
pkg/controller/resourcequota
|
||||
pkg/controller/statefulset
|
||||
pkg/util/coverage
|
||||
pkg/volume/azure_dd
|
||||
pkg/volume/gcepd
|
||||
pkg/volume/rbd
|
||||
|
@ -23,6 +23,7 @@ import (
|
||||
// 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,
|
||||
// which is called unconditionally when running tests.
|
||||
//lint:ignore U1000 see comment above, we know it's unused normally.
|
||||
type fakeTestDeps struct{}
|
||||
|
||||
func (fakeTestDeps) ImportPath() string {
|
||||
|
Loading…
Reference in New Issue
Block a user