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:
@@ -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
|
||||
}
|
||||
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user