]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: reuse list of LVs
authorRishabh Dave <ridave@redhat.com>
Wed, 14 Aug 2019 15:57:38 +0000 (21:27 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 28 Aug 2019 07:35:33 +0000 (13:05 +0530)
commitab3a58e78124a984d162b2f63992d01c5e59e2a7
tree585408b8c033e5bb7813d84f32c1ab4391e4187a
parentcde6489691e025717f03c7e3df813a9dc695549d
ceph-volume: reuse list of LVs

Avoid creating of list of LVs in different methods of the same module
and resue them.

Fixes: https://tracker.ceph.com/issues/37490
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/ceph-volume/ceph_volume/api/lvm.py
src/ceph-volume/ceph_volume/devices/lvm/listing.py