From 8447b9f940b2c82fc85370d9c1cda2126827ccc0 Mon Sep 17 00:00:00 2001 From: yarntime Date: Mon, 28 Nov 2016 11:46:22 +0800 Subject: [PATCH] fix typo in volumeme_manager --- pkg/kubelet/volumemanager/volume_manager.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/kubelet/volumemanager/volume_manager.go b/pkg/kubelet/volumemanager/volume_manager.go index c7186c588e6..79a7c00b965 100644 --- a/pkg/kubelet/volumemanager/volume_manager.go +++ b/pkg/kubelet/volumemanager/volume_manager.go @@ -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))