mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +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/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
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user