Commit ef079a31 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #37535 from yarntime/fix_typo_in_volume_manager

Automatic merge from submit-queue fix typo in volume_manager fix typo in volume_manager.
parents b229ceee 8447b9f9
...@@ -349,9 +349,9 @@ func (vm *volumeManager) WaitForAttachAndMount(pod *v1.Pod) error { ...@@ -349,9 +349,9 @@ func (vm *volumeManager) WaitForAttachAndMount(pod *v1.Pod) error {
if err != nil { if err != nil {
// Timeout expired // Timeout expired
ummountedVolumes := unmountedVolumes :=
vm.getUnmountedVolumes(uniquePodName, expectedVolumes) vm.getUnmountedVolumes(uniquePodName, expectedVolumes)
if len(ummountedVolumes) == 0 { if len(unmountedVolumes) == 0 {
return nil return nil
} }
...@@ -359,7 +359,7 @@ func (vm *volumeManager) WaitForAttachAndMount(pod *v1.Pod) error { ...@@ -359,7 +359,7 @@ func (vm *volumeManager) WaitForAttachAndMount(pod *v1.Pod) error {
"timeout expired waiting for volumes to attach/mount for pod %q/%q. list of unattached/unmounted volumes=%v", "timeout expired waiting for volumes to attach/mount for pod %q/%q. list of unattached/unmounted volumes=%v",
pod.Name, pod.Name,
pod.Namespace, pod.Namespace,
ummountedVolumes) unmountedVolumes)
} }
glog.V(3).Infof("All volumes are attached and mounted for pod %q", format.Pod(pod)) glog.V(3).Infof("All volumes are attached and mounted for pod %q", format.Pod(pod))
......
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