]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: remove unneeded call to get_devices() 37412/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:07 +0000 (14:42 +0200)
commitc17b5fd56a0c6c4d402b6ffc17e60ad2977c11e5
treeab80a0b1f9b8eddfffa87f286fd6bedb516196df
parent6d5978ac36cafb53bb47c7bd9d4e6b7eda73bbd4
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