From 97c5c6952347ba73eb6e0ab1ba0f01ea0ea8f677 Mon Sep 17 00:00:00 2001 From: Elena Gershkovich Date: Sun, 14 Jan 2024 17:02:22 +0200 Subject: [PATCH] Error in annotation name Signed-off-by: Elena Gershkovich (cherry picked from commit e544937750ce145e84991cc5d76e2c011b5976db) --- controllers/drcluster_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/drcluster_controller.go b/controllers/drcluster_controller.go index 1924878ea..1b56d5a3f 100644 --- a/controllers/drcluster_controller.go +++ b/controllers/drcluster_controller.go @@ -692,7 +692,7 @@ func (u *drclusterInstance) fenceClusterOnCluster(peerCluster *ramen.DRCluster) } annotations := make(map[string]string) - annotations[DRPCNameAnnotation] = u.object.Name // ? + annotations[DRClusterNameAnnotation] = u.object.Name nf, err := u.reconciler.MCVGetter.GetNFFromManagedCluster(u.object.Name, u.object.Namespace, peerCluster.Name, annotations)