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:
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
|
||||
|
2
main.go
2
main.go
@ -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"}
|
||||
|
Loading…
Reference in New Issue
Block a user