mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
This commit is contained in:
@@ -310,7 +310,7 @@ func (cm *containerManagerImpl) setupNode() error {
|
||||
cm.periodicTasks = append(cm.periodicTasks, func() {
|
||||
cont, err := getContainer(os.Getpid())
|
||||
if err != nil {
|
||||
glog.Error("failed to find cgroups of kubelet - %v", err)
|
||||
glog.Errorf("failed to find cgroups of kubelet - %v", err)
|
||||
return
|
||||
}
|
||||
cm.Lock()
|
||||
|
||||
Reference in New Issue
Block a user