Skip to content

Commit 7cfe905

Browse files
authored
Merge pull request #10540 from mnitchev/pr-fix-log
🐛 Fix log in clusterctl move
2 parents c6e5706 + 6d2e852 commit 7cfe905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/clusterctl/client/cluster/mover.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ func getClusterObj(ctx context.Context, proxy Proxy, cluster *node, clusterObj *
291291

292292
if err := c.Get(ctx, clusterObjKey, clusterObj); err != nil {
293293
return errors.Wrapf(err, "error reading Cluster %s/%s",
294-
clusterObj.GetNamespace(), clusterObj.GetName())
294+
cluster.identity.Namespace, cluster.identity.Name)
295295
}
296296
return nil
297297
}

0 commit comments

Comments
 (0)