mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #37420 from zdj6373/kubelet-log
Automatic merge from submit-queue (batch tested with PRs 37208, 37446, 37420) Kubelet log modification Keep in line with the other error logs in the function. After return, the caller records the error log.Delete redundant logs
This commit is contained in:
commit
be5d1724f5
@ -1183,8 +1183,7 @@ func (kl *Kubelet) initializeModules() error {
|
||||
// Step 5: Start container manager.
|
||||
node, err := kl.getNodeAnyWay()
|
||||
if err != nil {
|
||||
glog.Errorf("Cannot get Node info: %v", err)
|
||||
return fmt.Errorf("Kubelet failed to get node info.")
|
||||
return fmt.Errorf("Kubelet failed to get node info: %v", err)
|
||||
}
|
||||
|
||||
if err := kl.containerManager.Start(node); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user