From ab72efd2e2872b3324c983077207609050193156 Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Fri, 10 Nov 2023 23:30:24 +0530 Subject: [PATCH] fix Signed-off-by: Shubham Gupta --- k8sutils/finalizers_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/k8sutils/finalizers_test.go b/k8sutils/finalizers_test.go index e6e149090..d8175ced9 100644 --- a/k8sutils/finalizers_test.go +++ b/k8sutils/finalizers_test.go @@ -9,7 +9,6 @@ import ( "github.com/go-logr/logr/testr" "github.com/stretchr/testify/assert" corev1 "k8s.io/api/core/v1" - v1 "k8s.io/api/core/v1" k8serrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" @@ -301,7 +300,7 @@ func helperRedisClusterPVCs(clusterName string, namespace string) []*corev1.Pers } pvcs = append(pvcs, clusterPVC) nodeConfPVCName := fmt.Sprintf("node-conf-%s-%s-%d", clusterName, role, i) - nodeConfPVC := &v1.PersistentVolumeClaim{ + nodeConfPVC := &corev1.PersistentVolumeClaim{ ObjectMeta: metav1.ObjectMeta{ Name: nodeConfPVCName, Namespace: namespace,