mirror of
https://github.com/rancher/rke.git
synced 2025-09-25 06:33:56 +00:00
Typo valid
This commit is contained in:
committed by
Alena Prokharchyk
parent
bff7e0a2c3
commit
4f0a191e44
@@ -239,7 +239,7 @@ func rebuildLocalAdminConfig(ctx context.Context, kubeCluster *Cluster) error {
|
||||
|
||||
func isLocalConfigWorking(ctx context.Context, localKubeConfigPath string, k8sWrapTransport k8s.WrapTransport) bool {
|
||||
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 true
|
||||
|
Reference in New Issue
Block a user