@@ -321,9 +321,9 @@ func (o *objectMover) move(graph *objectGraph, toProxy Proxy) error {
321321 return err
322322 }
323323
324- log .V (1 ).Info ("Pausing the source cluster classes " )
324+ log .V (1 ).Info ("Pausing the source ClusterClasses " )
325325 if err := setClusterClassPause (o .fromProxy , clusterClasses , true , o .dryRun ); err != nil {
326- return errors .Wrap (err , "error pausing cluster classes " )
326+ return errors .Wrap (err , "error pausing ClusterClasses " )
327327 }
328328
329329 // Ensure all the expected target namespaces are in place before creating objects.
@@ -355,10 +355,10 @@ func (o *objectMover) move(graph *objectGraph, toProxy Proxy) error {
355355 }
356356 }
357357
358- // Resume the cluster classes in the target management cluster, so the controllers start reconciling it.
359- log .V (1 ).Info ("Resuming the target cluter classes " )
358+ // Resume the ClusterClasses in the target management cluster, so the controllers start reconciling it.
359+ log .V (1 ).Info ("Resuming the target ClusterClasses " )
360360 if err := setClusterClassPause (toProxy , clusterClasses , false , o .dryRun ); err != nil {
361- return errors .Wrap (err , "error resuming cluster classes " )
361+ return errors .Wrap (err , "error resuming ClusterClasses " )
362362 }
363363
364364 // Reset the pause field on the Cluster object in the target management cluster, so the controllers start reconciling it.
@@ -381,9 +381,9 @@ func (o *objectMover) backup(graph *objectGraph, directory string) error {
381381 return err
382382 }
383383
384- log .V (1 ).Info ("Pausing the source cluster classes " )
384+ log .V (1 ).Info ("Pausing the source ClusterClasses " )
385385 if err := setClusterClassPause (o .fromProxy , clusterClasses , true , o .dryRun ); err != nil {
386- return errors .Wrap (err , "error pausing cluster classes " )
386+ return errors .Wrap (err , "error pausing ClusterClasses " )
387387 }
388388
389389 // Define the move sequence by processing the ownerReference chain, so we ensure that a Kubernetes object is moved only after its owners.
@@ -401,10 +401,10 @@ func (o *objectMover) backup(graph *objectGraph, directory string) error {
401401 }
402402 }
403403
404- // Resume the cluster classes in the target management cluster, so the controllers start reconciling it.
405- log .V (1 ).Info ("Resuming the target cluter classes " )
404+ // Resume the ClusterClasses in the target management cluster, so the controllers start reconciling it.
405+ log .V (1 ).Info ("Resuming the target ClusterClasses " )
406406 if err := setClusterClassPause (o .fromProxy , clusterClasses , false , o .dryRun ); err != nil {
407- return errors .Wrap (err , "error resuming cluster classes " )
407+ return errors .Wrap (err , "error resuming ClusterClasses " )
408408 }
409409
410410 // Reset the pause field on the Cluster object in the target management cluster, so the controllers start reconciling it.
@@ -443,9 +443,9 @@ func (o *objectMover) restore(graph *objectGraph, toProxy Proxy) error {
443443
444444 // Resume reconciling the ClusterClasses after being restored from a backup.
445445 // By default, during backup, ClusterClasses are paused so they must be unpaused to be used again
446- log .V (1 ).Info ("Resuming the target cluter classes " )
446+ log .V (1 ).Info ("Resuming the target ClusterClasses " )
447447 if err := setClusterClassPause (toProxy , clusterClasses , false , o .dryRun ); err != nil {
448- return errors .Wrap (err , "error resuming cluster classes " )
448+ return errors .Wrap (err , "error resuming ClusterClasses " )
449449 }
450450
451451 // Resume reconciling the Clusters after being restored from a backup.
0 commit comments