Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceph-volume: add helper methods to get only first LVM devs
These convenience methods shortens following phrase to "lv = get_first_lv()" - lvs = get_lvs() if len(lvs) >= 1: lvs = lv[0] These methods do the same things as above phrase internall. Rewrite listing.py to use these new helper methods. Signed-off-by: Rishabh Dave <ridave@redhat.com>
- Loading branch information
1 parent
fb13909
commit 17957d9
Showing
2 changed files
with
47 additions
and
33 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