1
0
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:
chentanjun
2019-09-02 18:30:07 +08:00
committed by Alena Prokharchyk
parent 079b743ad6
commit 11c49ae59f
2 changed files with 2 additions and 2 deletions

View File

@@ -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