1
0
Fork 0
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:
Markus Lehtonen 2024-09-27 15:26:18 +03:00
parent 45019cbd40
commit db07fe1ff4

View file

@ -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),