From 8df718c80bec658253ee25dc06c3b14c89e247d5 Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Fri, 10 Nov 2023 23:29:52 +0530 Subject: [PATCH] fix Signed-off-by: Shubham Gupta --- k8sutils/finalizers_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/k8sutils/finalizers_test.go b/k8sutils/finalizers_test.go index b1e822a27..e6e149090 100644 --- a/k8sutils/finalizers_test.go +++ b/k8sutils/finalizers_test.go @@ -287,13 +287,13 @@ func helperToRuntimeObjects(pvcs []*corev1.PersistentVolumeClaim) []runtime.Obje return objs } -func helperRedisClusterPVCs(clusterName string, namespace string) []*v1.PersistentVolumeClaim { - var pvcs []*v1.PersistentVolumeClaim +func helperRedisClusterPVCs(clusterName string, namespace string) []*corev1.PersistentVolumeClaim { + var pvcs []*corev1.PersistentVolumeClaim roles := []string{"leader", "follower"} for _, role := range roles { for i := 0; i < 3; i++ { clusterPVCName := fmt.Sprintf("%s-%s-%s-%d", clusterName, clusterName, role, i) - clusterPVC := &v1.PersistentVolumeClaim{ + clusterPVC := &corev1.PersistentVolumeClaim{ ObjectMeta: metav1.ObjectMeta{ Name: clusterPVCName, Namespace: namespace,