-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csi: look for subvolumepath instead of subvolumename
In case of ROX pvc, the subvolume name is different and is not listed in the backend as it is just a shallow volume and it links to the source path. incase the source volume is delete the subvolme will be shown stale, but actually that is being used by the ROX pvc. Soinstead getting the subvolumename to look for stale subvolumes, it is better to retrive the name from the subvolumepath. Signed-off-by: yati1998 <ypadia@redhat.com>
- Loading branch information
Showing
2 changed files
with
63 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters