Merge pull request #56658 from wenjun93/master
Automatic merge from submit-queue (batch tested with PRs 56480, 56675, 56624, 56648, 56658). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. minor fix error typo of rbd volume teardown fix typo in rbd volume plugin `diskTearDown`
This commit is contained in:
		| @@ -115,9 +115,9 @@ func diskTearDown(manager diskManager, c rbdUnmounter, volPath string, mounter m | ||||
| 	} | ||||
|  | ||||
| 	notMnt, mntErr := mounter.IsLikelyNotMountPoint(volPath) | ||||
| 	if err != nil && !os.IsNotExist(err) { | ||||
| 	if mntErr != nil && !os.IsNotExist(mntErr) { | ||||
| 		glog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr) | ||||
| 		return err | ||||
| 		return mntErr | ||||
| 	} | ||||
| 	if notMnt { | ||||
| 		if err := os.Remove(volPath); err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue