Commit 7b3f37a8 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #17003 from jiangyaoguo/fix-error-sync-pod-message

Auto commit by PR queue bot
parents e3791d5f 85d554bf
......@@ -1955,7 +1955,7 @@ func (dm *DockerManager) SyncPod(pod *api.Pod, runningPod kubecontainer.Pod, pod
}
if containersStarted != len(containerChanges.ContainersToStart) {
return fmt.Errorf("not all containers have started: %d != %d", containersStarted, containerChanges.ContainersToStart)
return fmt.Errorf("not all containers have started: %d != %d", containersStarted, len(containerChanges.ContainersToStart))
}
return nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment