Skip to content

Commit

Permalink
🐛 fix: do not use mutators for from cluster (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
takirala authored Feb 20, 2023
1 parent 292b58c commit c1091c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/clusterctl/client/cluster/mover.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,12 @@ func (o *objectMover) move(graph *objectGraph, toProxy Proxy, mutators ...Resour

// Sets the pause field on the Cluster object in the source management cluster, so the controllers stop reconciling it.
log.V(1).Info("Pausing the source cluster")
if err := setClusterPause(o.fromProxy, clusters, true, o.dryRun, mutators...); err != nil {
if err := setClusterPause(o.fromProxy, clusters, true, o.dryRun); err != nil {
return err
}

log.V(1).Info("Pausing the source ClusterClasses")
if err := setClusterClassPause(o.fromProxy, clusterClasses, true, o.dryRun, mutators...); err != nil {
if err := setClusterClassPause(o.fromProxy, clusterClasses, true, o.dryRun); err != nil {
return errors.Wrap(err, "error pausing ClusterClasses")
}

Expand Down

0 comments on commit c1091c4

Please sign in to comment.