From 2542914a5c46e0bf903ec1f4a33384454a22cdd9 Mon Sep 17 00:00:00 2001 From: Kevin Cormier Date: Wed, 24 Feb 2021 13:46:41 -0500 Subject: [PATCH] Fix scheduled hibernation annotation --- lib/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common.sh b/lib/common.sh index ed81730..08e71f6 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -608,7 +608,7 @@ EOF ) local claimPatch=$(cat << EOF - op: add - path: /metadata/annotations/open-cluster-management.io~1cluster-manager-hibernation + path: /metadata/annotations/open-cluster-management.io~1cluster-keeper-hibernation value: "true" EOF ) @@ -652,7 +652,7 @@ function disableSchedule { verbose 0 "Disabling scheduled hibernation/resumption for $claim" local removeAnnotation=$(cat << EOF - op: remove - path: /metadata/annotations/open-cluster-management.io~1cluster-manager-hibernation + path: /metadata/annotations/open-cluster-management.io~1cluster-keeper-hibernation EOF ) verbose 1 "Removing annotation on ClusterClaim $claim"