mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
nfd-gc: drop one duplicate import from tests
This commit is contained in:
parent
45019cbd40
commit
db07fe1ff4
1 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,6 @@ import (
|
|||
"k8s.io/apimachinery/pkg/util/sets"
|
||||
metadataclient "k8s.io/client-go/metadata"
|
||||
"k8s.io/client-go/metadata/fake"
|
||||
fakemetadataclient "k8s.io/client-go/metadata/fake"
|
||||
"k8s.io/client-go/metadata/metadatainformer"
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
|
@ -100,7 +99,7 @@ func newMockGC(nodes, nrts []string) *mockGC {
|
|||
|
||||
scheme := fake.NewTestScheme()
|
||||
_ = metav1.AddMetaToScheme(scheme)
|
||||
cli := fakemetadataclient.NewSimpleMetadataClient(scheme, objs...)
|
||||
cli := fake.NewSimpleMetadataClient(scheme, objs...)
|
||||
return &mockGC{
|
||||
nfdGarbageCollector: nfdGarbageCollector{
|
||||
factory: metadatainformer.NewSharedInformerFactory(cli, 0),
|
||||
|
|
Loading…
Reference in a new issue