]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix is_ceph_disk_member()
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 26 Jul 2022 14:24:31 +0000 (16:24 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 5 Aug 2022 06:58:17 +0000 (08:58 +0200)
commit80d8b608262324e5f0b17d5e396b2b3c9aec9cf3
tree135f5144e7124fd0ee313f6be639c57851e6ce2f
parent6ece433e10b5db629c997e7022bdf8543e8be7ba
ceph-volume: fix is_ceph_disk_member()

`dev['NAME']` can't match `part` given that it's the name of the
parent device being compared to the partition name.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 24899a1f8d77bc3c10ef158bb463349d615f7c57)
(cherry picked from commit 66d0a07b34faa4514b1b7cb2d46ed90d83b91963)
src/ceph-volume/ceph_volume/util/device.py