]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
api/lvm: rewrite a condition 30101/head
authorRishabh Dave <ridave@redhat.com>
Tue, 3 Sep 2019 13:06:23 +0000 (18:36 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 4 Sep 2019 11:19:29 +0000 (16:49 +0530)
commitd1f1bfd3635501090f4069be59e0bcde94dd64ec
tree9827a511166c2829df2a52c28ab4a4a6614a7bae
parentcde6489691e025717f03c7e3df813a9dc695549d
api/lvm: rewrite a condition

Create the list of logical volumes if the list passed in arguments is
empty and rewrite the condition to make it more readable.

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