]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: remove unneeded call to get_devices() 37413/head
authorMarc Gariepy <gariepy.marc@gmail.com>
Tue, 22 Sep 2020 13:01:33 +0000 (09:01 -0400)
committerJan Fajerski <jfajerski@suse.com>
Fri, 25 Sep 2020 12:42:44 +0000 (14:42 +0200)
commit4871bd3509fa3dfb2cf86c9c89ec4b0cd5e2a2ee
treee64ae85da215edb9997dfba755f24b59d60ddbe9
parent3480d2223c79680a792ed1e5c2d0c217ccb8528c
ceph-volume: remove unneeded call to get_devices()

there is no need to probe the device to generate the argparse help
message.

also removing the test on the function as it's not there anymore.

Signed-off-by: Marc Gariepy <gariepy.marc@gmail.com>
Fixes: https://tracker.ceph.com/issues/47502
(cherry picked from commit 5c6f66166a7afad87627032cafdc5c4f11f94eac)
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_batch.py