mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 10:18:13 +00:00 
			
		
		
		
	kubeadm: fix a wrong log message
This commit is contained in:
		| @@ -103,7 +103,7 @@ func ValidateConfigInfo(config *clientcmdapi.Config, discoveryTimeout time.Durat | |||||||
| 					klog.Warningf("[discovery] Could not access the %s ConfigMap for refreshing the cluster-info information, but the TLS cert is valid so proceeding...\n", bootstrapapi.ConfigMapClusterInfo) | 					klog.Warningf("[discovery] Could not access the %s ConfigMap for refreshing the cluster-info information, but the TLS cert is valid so proceeding...\n", bootstrapapi.ConfigMapClusterInfo) | ||||||
| 					return true, nil | 					return true, nil | ||||||
| 				} | 				} | ||||||
| 				klog.V(1).Infof("[discovery] Error reading the %s ConfigMap, will try again: %v\n", bootstrapapi.ConfigMapClusterInfo, err) | 				klog.V(1).Infof("[discovery] Error reading the %s ConfigMap, will try again: %v\n", bootstrapapi.ConfigMapClusterInfo, lastError) | ||||||
| 				return false, nil | 				return false, nil | ||||||
| 			} | 			} | ||||||
| 			return true, nil | 			return true, nil | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Huang Huang
					Huang Huang