From c1091c47bae3a5ee552bc414fe4176a0975c39a0 Mon Sep 17 00:00:00 2001 From: Tarun Gupta Akirala Date: Mon, 20 Feb 2023 07:12:26 -0800 Subject: [PATCH] :bug: fix: do not use mutators for `from` cluster (#15) --- cmd/clusterctl/client/cluster/mover.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/clusterctl/client/cluster/mover.go b/cmd/clusterctl/client/cluster/mover.go index 8412b8d88ed1..21d9a4e0487e 100644 --- a/cmd/clusterctl/client/cluster/mover.go +++ b/cmd/clusterctl/client/cluster/mover.go @@ -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") }