]> 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)
committerJan Fajerski <jfajerski@suse.com>
Wed, 12 Feb 2020 11:33:49 +0000 (12:33 +0100)
commit66bbe1651d549fac794acc30e9cb2575e7b61062
treeb43a5c77622b35c205078324fe709eec79d46712
parent17cba1fe09f5bcbb0e2926a4c77500b3a15b95d1
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