1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-25 14:48:06 +00:00

Typo valid

This commit is contained in:
Sebastiaan van Steenis
2018-08-09 13:01:41 +02:00
committed by Alena Prokharchyk
parent bff7e0a2c3
commit 4f0a191e44

View File

@@ -239,7 +239,7 @@ func rebuildLocalAdminConfig(ctx context.Context, kubeCluster *Cluster) error {
func isLocalConfigWorking(ctx context.Context, localKubeConfigPath string, k8sWrapTransport k8s.WrapTransport) bool { func isLocalConfigWorking(ctx context.Context, localKubeConfigPath string, k8sWrapTransport k8s.WrapTransport) bool {
if _, err := GetK8sVersion(localKubeConfigPath, k8sWrapTransport); err != nil { if _, err := GetK8sVersion(localKubeConfigPath, k8sWrapTransport); err != nil {
log.Infof(ctx, "[reconcile] Local config is not vaild, rebuilding admin config") log.Infof(ctx, "[reconcile] Local config is not valid, rebuilding admin config")
return false return false
} }
return true return true