mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 23:16:22 +00:00
fix-up cluster/cluster.go main.go spelling-mistake
This commit is contained in:
committed by
Alena Prokharchyk
parent
079b743ad6
commit
11c49ae59f
@@ -354,7 +354,7 @@ func (c *Cluster) SyncLabelsAndTaints(ctx context.Context, currentCluster *Clust
|
||||
if currentCluster != nil {
|
||||
cpToDelete := hosts.GetToDeleteHosts(currentCluster.ControlPlaneHosts, c.ControlPlaneHosts, c.InactiveHosts, false)
|
||||
if len(cpToDelete) == len(currentCluster.ControlPlaneHosts) {
|
||||
log.Infof(ctx, "[sync] Cleaning left control plane nodes from reconcilation")
|
||||
log.Infof(ctx, "[sync] Cleaning left control plane nodes from reconciliation")
|
||||
for _, toDeleteHost := range cpToDelete {
|
||||
if err := cleanControlNode(ctx, c, currentCluster, toDeleteHost); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user