Commit 85d554bf authored by jiangyaoguo's avatar jiangyaoguo

fix FailSync event message

parent c095e35f
...@@ -1953,7 +1953,7 @@ func (dm *DockerManager) SyncPod(pod *api.Pod, runningPod kubecontainer.Pod, pod ...@@ -1953,7 +1953,7 @@ func (dm *DockerManager) SyncPod(pod *api.Pod, runningPod kubecontainer.Pod, pod
} }
if containersStarted != len(containerChanges.ContainersToStart) { 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 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