]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix is_ceph_disk_member() 47406/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 26 Jul 2022 14:24:31 +0000 (16:24 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 2 Aug 2022 09:39:37 +0000 (11:39 +0200)
commit66d0a07b34faa4514b1b7cb2d46ed90d83b91963
treea9abd379206f0dbe058bc657aa659de5b5b29048
parent7c8f1193552d252648711fcf9a5456862b3563ae
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)
src/ceph-volume/ceph_volume/util/device.py