fix FailSync event message

This commit is contained in:
jiangyaoguo 2015-11-09 15:49:52 +08:00
parent c095e35f1b
commit 85d554bfc4

View File

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