@@ -321,9 +321,9 @@ func (o *objectMover) move(graph *objectGraph, toProxy Proxy) error {
321
321
return err
322
322
}
323
323
324
- log .V (1 ).Info ("Pausing the source cluster classes " )
324
+ log .V (1 ).Info ("Pausing the source ClusterClasses " )
325
325
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 " )
327
327
}
328
328
329
329
// 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 {
355
355
}
356
356
}
357
357
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 " )
360
360
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 " )
362
362
}
363
363
364
364
// 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 {
381
381
return err
382
382
}
383
383
384
- log .V (1 ).Info ("Pausing the source cluster classes " )
384
+ log .V (1 ).Info ("Pausing the source ClusterClasses " )
385
385
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 " )
387
387
}
388
388
389
389
// 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 {
401
401
}
402
402
}
403
403
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 " )
406
406
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 " )
408
408
}
409
409
410
410
// 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 {
443
443
444
444
// Resume reconciling the ClusterClasses after being restored from a backup.
445
445
// 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 " )
447
447
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 " )
449
449
}
450
450
451
451
// Resume reconciling the Clusters after being restored from a backup.
0 commit comments