Merge pull request #38078 from resouer/fix-unmount

Automatic merge from submit-queue

Raise markVolMountedErr instead of unmountErr

Hit this when debugging https://github.com/kubernetes/kubernetes/issues/37657

We wrongly raised `unmountErr` when `markVolMountedErr` occurs.
This commit is contained in:
Kubernetes Submit Queue 2016-12-26 02:33:55 -08:00 committed by GitHub
commit 6fd22784a4

View File

@ -1003,7 +1003,7 @@ func (oe *operationExecutor) generateUnmountVolumeFunc(
volumeToUnmount.OuterVolumeSpecName,
volumeToUnmount.PodName,
volumeToUnmount.PodUID,
unmountErr)
markVolMountedErr)
}
return nil