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

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-11-10 04:01:28 -08:00
commit 7b3f37a892

View File

@ -1955,7 +1955,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
} }