]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix regression 58005/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Mon, 3 Jun 2024 12:00:10 +0000 (14:00 +0200)
committerZac Dover <zac.dover@proton.me>
Sat, 15 Jun 2024 12:41:32 +0000 (22:41 +1000)
commit2d7ec80d4b6d2f148baadae2a7c5404b622be8cc
treeb5f56b4a95d258d83082c438632b2d5edb9f86a9
parent73de6f5312da55bba000f865217337e31975327d
ceph-volume: fix regression

This fixes a regression introduced by: 24f8e5c61b19deab7397b0237f8376c6c03a5dcb

`iter_entry_points` from `pkg_resources` takes one argument whereas
`entry_points` from `importlib.metadata` does not.

The call to `entry_points(group=group)` makes ceph-volume fail.

Fixes: https://tracker.ceph.com/issues/66328
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 6e3b0b93055538cad234018ef8700bfacec03076)
src/ceph-volume/ceph_volume/main.py