1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-01 15:19:09 +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

View File

@ -14,7 +14,7 @@ import (
"github.com/urfave/cli"
)
// VERSION gets overriden at build time using -X main.VERSION=$VERSION
// VERSION gets overridden at build time using -X main.VERSION=$VERSION
var VERSION = "dev"
var released = regexp.MustCompile(`^v[0-9]+\.[0-9]+\.[0-9]+$`)
var proxyEnvVars = [3]string{"HTTP_PROXY", "HTTPS_PROXY", "NO_PROXY"}