]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: refactor devices/lvm/listing.py
authorRishabh Dave <ridave@redhat.com>
Thu, 21 Nov 2019 12:34:25 +0000 (18:04 +0530)
committerJan Fajerski <jfajerski@suse.com>
Fri, 28 Feb 2020 10:50:08 +0000 (11:50 +0100)
commit64777eb5889fe357ec7aaa9a4f73467d6f1785ce
tree6df5799d9f3b48710ead87f08a78c407c29da49d
parent4a00228d754e6fcff51be9a84ca9a609627c1848
ceph-volume: refactor devices/lvm/listing.py

Get rid of duplicate and redundant code and use get_lvs, get_vgs and
get_pvs to simplify the module as much as possible.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit d02bd7dd581a4bd4041eb397fae540a18f16a88b)
src/ceph-volume/ceph_volume/devices/lvm/listing.py