mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 14:23:37 +00:00
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.
This commit is contained in:
commit
ef079a316e
@ -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 {
|
|||||||
"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))
|
||||||
|
Loading…
Reference in New Issue
Block a user