]> git-server-git.apps.pok.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)
committerRishabh Dave <ridave@redhat.com>
Tue, 28 Jan 2020 15:25:57 +0000 (20:55 +0530)
commitd02bd7dd581a4bd4041eb397fae540a18f16a88b
treec3ed43ee7ffda29a0901766bb1fe7bb165209c61
parent17957d9beb42a04b8f180ccb7ba07d43179a41d3
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>
src/ceph-volume/ceph_volume/devices/lvm/listing.py