]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume api.lvm return result of get_lv when using arguments
authorAlfredo Deza <adeza@redhat.com>
Fri, 20 Oct 2017 12:48:01 +0000 (08:48 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 27 Oct 2017 14:44:20 +0000 (10:44 -0400)
commit40cfec281cc2584b2e2987f356109c6c160d4597
treec901e55fbc31c5f8458b7dfe449c919fafe6f2c9
parent7139077aab892c3213815d1dcf71d93df80a32c8
ceph-volume api.lvm return result of get_lv when using arguments

If the argument is an absolute path it is fine to just return whatever
get_lv finds since it is a "safe" call, it will return a None if nothing
is found

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit f209c9d4d50bd7abe0f7f6b9fb29359cb7196718)
src/ceph-volume/ceph_volume/api/lvm.py