fix typo in volumeme_manager

This commit is contained in:
yarntime 2016-11-28 11:46:22 +08:00
parent 68e68052be
commit 8447b9f940

View File

@ -338,9 +338,9 @@ func (vm *volumeManager) WaitForAttachAndMount(pod *api.Pod) error {
if err != nil {
// Timeout expired
ummountedVolumes :=
unmountedVolumes :=
vm.getUnmountedVolumes(uniquePodName, expectedVolumes)
if len(ummountedVolumes) == 0 {
if len(unmountedVolumes) == 0 {
return nil
}
@ -348,7 +348,7 @@ func (vm *volumeManager) WaitForAttachAndMount(pod *api.Pod) error {
"timeout expired waiting for volumes to attach/mount for pod %q/%q. list of unattached/unmounted volumes=%v",
pod.Name,
pod.Namespace,
ummountedVolumes)
unmountedVolumes)
}
glog.V(3).Infof("All volumes are attached and mounted for pod %q", format.Pod(pod))