From a8d273993296f9a288359e8e3acbfb9d23c08c15 Mon Sep 17 00:00:00 2001 From: Kanika Rana Date: Fri, 17 Jan 2025 22:24:03 +0530 Subject: [PATCH] remove pointer deprecated --- pkg/configuration/cache_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/configuration/cache_test.go b/pkg/configuration/cache_test.go index 19fdc809..c6e734f6 100644 --- a/pkg/configuration/cache_test.go +++ b/pkg/configuration/cache_test.go @@ -3,7 +3,6 @@ package configuration import ( "context" "fmt" - "k8s.io/utils/pointer" "sync" "testing" @@ -354,7 +353,7 @@ func TestMultipleExecutionsInParallel(t *testing.T) { defer waitForFinished.Done() latch.Wait() config := NewToolchainConfigObjWithReset(t, testconfig.Members().SpecificPerMemberCluster(fmt.Sprintf("member%d", i), toolchainv1alpha1.MemberOperatorConfigSpec{ - Environment: pointer.String(fmt.Sprintf("env%d", i)), + Environment: ptr.To(fmt.Sprintf("env%d", i)), })) secretData := map[string]map[string]string{