]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: fix regression
authorGuillaume Abrioux <gabrioux@ibm.com>
Mon, 3 Jun 2024 12:00:10 +0000 (14:00 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Mon, 3 Jun 2024 12:03:06 +0000 (14:03 +0200)
commit6e3b0b93055538cad234018ef8700bfacec03076
treeba098214d440d5a098e0aa107085390fe00396bb
parentdf637ab43da897dce9103e700dd44006874c7291
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>
src/ceph-volume/ceph_volume/main.py