1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-18 08:06:20 +00:00

Merge pull request #128 from guangbochen/master

update misspelled common words
This commit is contained in:
Alena Prokharchyk
2017-12-13 09:52:25 -08:00
committed by GitHub
8 changed files with 8 additions and 8 deletions

View File

@@ -94,7 +94,7 @@ func saveClusterCerts(kubeClient *kubernetes.Clientset, crts map[string]pki.Cert
return fmt.Errorf("Failed to save certificate [%s] to kubernetes: %v", crtName, err)
}
}
logrus.Infof("[certificates] Successfuly saved certificates as kubernetes secret [%s]", pki.CertificatesSecretName)
logrus.Infof("[certificates] Successfully saved certificates as kubernetes secret [%s]", pki.CertificatesSecretName)
return nil
}

View File

@@ -51,7 +51,7 @@ func (c *Cluster) GetClusterState() (*Cluster, error) {
logrus.Warnf("Failed to initiate new Kubernetes Client: %v", err)
return nil, nil
}
// Get pervious kubernetes state
// Get previous kubernetes state
currentCluster = getStateFromKubernetes(c.KubeClient, c.LocalKubeConfigPath)
// Get previous kubernetes certificates
if currentCluster != nil {