mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 13:55:41 +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 {
|
||||
// Timeout expired
|
||||
ummountedVolumes :=
|
||||
unmountedVolumes :=
|
||||
vm.getUnmountedVolumes(uniquePodName, expectedVolumes)
|
||||
if len(ummountedVolumes) == 0 {
|
||||
if len(unmountedVolumes) == 0 {
|
||||
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",
|
||||
pod.Name,
|
||||
pod.Namespace,
|
||||
ummountedVolumes)
|
||||
unmountedVolumes)
|
||||
}
|
||||
|
||||
glog.V(3).Infof("All volumes are attached and mounted for pod %q", format.Pod(pod))
|
||||
|
Loading…
Reference in New Issue
Block a user