From 715c7f1b96fdf1e689e840124c9379b4d323661c Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Wed, 27 Nov 2024 10:01:23 +0200 Subject: [PATCH] Change DcPrefix() in the test --- test/e2e/suite_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/suite_test.go b/test/e2e/suite_test.go index 5a9b98d98..265e2a731 100644 --- a/test/e2e/suite_test.go +++ b/test/e2e/suite_test.go @@ -2144,7 +2144,7 @@ func DcPrefix( cassdc := &cassdcapi.CassandraDatacenter{} err := f.Get(context.Background(), dcKey, cassdc) require.NoError(t, err) - return framework.CleanupForKubernetes(fmt.Sprintf("%s-%s", cassdc.Spec.ClusterName, cassdc.DatacenterName())) + return framework.CleanupForKubernetes(fmt.Sprintf("%s-%s", cassdc.Spec.ClusterName, cassdc.Name)) } func DcClusterName(