mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-23 20:51:59 +00:00
Automatic merge from submit-queue (batch tested with PRs 37094, 37663, 37442, 37808, 37826) fix if condition question in kubelet run() function Here variable err returned by function NewForConfig(&eventClientConfig) if CreateAPIServerClientConfig() function runs correctly . And we should not print "invalid kubeconfig" info. Should we use else instead of if.