]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: remove duplicate code
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 15 Jan 2025 12:33:45 +0000 (12:33 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Mon, 24 Feb 2025 11:54:37 +0000 (11:54 +0000)
commit2e84535ae0b464ccfc0d1f296938a3a0f335bf70
tree1c2774b2c317324cb6ad5c6ff13f0f6dac8a6fde
parentc10687b23c7130b0e306bfc85a031f24406fa77c
ceph-volume: remove duplicate code

This check is already performed in `arg_validators.py`.
By the way, this check is only valid when the user passes a VG/LV with
the `<vg>/<lv>` format.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 8d477959d62c172ef34f67c7284e908454044540)
src/ceph-volume/ceph_volume/objectstore/lvmbluestore.py