]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: fix util.get_partitions
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 3 Oct 2023 23:11:32 +0000 (01:11 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Sat, 27 Jan 2024 12:11:40 +0000 (13:11 +0100)
commit72e9c562afab616dbd0f87fef1676b4381de987c
treec2dc58c24dc516e0576f2919f9cbb4785b205edb
parentb7ab0022358d67471adda67a54775f2dab7fdd73
ceph-volume: fix util.get_partitions

The current logic makes it report only the first
partitions of devices.

Fixes: https://tracker.ceph.com/issues/63086
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit b14ff07e6344d9f097259265d468f6300818b053)
src/ceph-volume/ceph_volume/util/disk.py