Skip to content

Commit

Permalink
Fix scheduled hibernation annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinFCormier committed Feb 24, 2021
1 parent 0b8c524 commit 2542914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 2542914

Please sign in to comment.