Skip to content

Commit

Permalink
UPSTREAM: 1605: idempotent unmount from NodeUnstageVolume / NodeUnpub…
Browse files Browse the repository at this point in the history
…lishVolume
  • Loading branch information
dobsonj authored and openshift-cherrypick-robot committed May 30, 2023
1 parent f3dca03 commit 3bd64e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/mount_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (m *NodeMounter) Unpublish(path string) error {
}

func (m *NodeMounter) Unstage(path string) error {
err := m.Unmount(path)
err := mountutils.CleanupMountPoint(path, m, false)
// Ignore the error when it contains "not mounted", because that indicates the
// world is already in the desired state
//
Expand Down

0 comments on commit 3bd64e9

Please sign in to comment.