Skip to content

Commit

Permalink
fixup! ✨ block move with annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nojnhuh committed Aug 15, 2023
1 parent fa58820 commit 195d665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/clusterctl/client/cluster/mover.go
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ func waitReadyForMove(proxy Proxy, nodes []*node, dryRun bool, backoff wait.Back

if _, exists := obj.GetAnnotations()[clusterctlv1.BlockMoveAnnotation]; exists {
if !blockLogged {
log.Info("Move blocked by %s annotation, waiting for it to be removed")
log.Info(fmt.Sprintf("Move blocked by %s annotation, waiting for it to be removed", clusterctlv1.BlockMoveAnnotation))
blockLogged = true
}
return errors.Errorf("resource is not ready to move: %s/%s", obj.GroupVersionKind(), key)
Expand Down

0 comments on commit 195d665

Please sign in to comment.