1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Merge pull request #1333 from ArangoGutierrez/grpc_gone

nfd_gc_test.go: fix multiple import of same pkg
This commit is contained in:
Kubernetes Prow Robot 2023-09-06 01:56:51 -07:00 committed by GitHub
commit aa6e140018
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ import (
"k8s.io/kubernetes/test/e2e/framework"
"sigs.k8s.io/node-feature-discovery/pkg/apis/nfd/v1alpha1"
nfdclient "sigs.k8s.io/node-feature-discovery/pkg/generated/clientset/versioned"
"sigs.k8s.io/node-feature-discovery/test/e2e/utils"
testutils "sigs.k8s.io/node-feature-discovery/test/e2e/utils"
testdeploy "sigs.k8s.io/node-feature-discovery/test/e2e/utils/deployment"
testpod "sigs.k8s.io/node-feature-discovery/test/e2e/utils/pod"
@ -87,10 +87,10 @@ var _ = SIGDescribe("NFD GC", func() {
// Helper functions
createCRs := func(ctx context.Context, nodeNames []string) error {
for _, name := range nodeNames {
if err := utils.CreateNodeFeature(ctx, nfdClient, f.Namespace.Name, name, name); err != nil {
if err := testutils.CreateNodeFeature(ctx, nfdClient, f.Namespace.Name, name, name); err != nil {
return err
}
if err := utils.CreateNodeResourceTopology(ctx, topologyClient, name); err != nil {
if err := testutils.CreateNodeResourceTopology(ctx, topologyClient, name); err != nil {
return err
}
}