From: Guillaume Abrioux Date: Thu, 23 Jan 2025 11:57:13 +0000 (+0100) Subject: Merge pull request #61258 from guits/cv-hints X-Git-Tag: v20.0.0~336 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0f9fc70e65ecdd9e143a3e5b6d5a7916f05871c2;p=ceph.git Merge pull request #61258 from guits/cv-hints ceph-volume: type annotations --- 0f9fc70e65ecdd9e143a3e5b6d5a7916f05871c2 diff --cc src/ceph-volume/ceph_volume/devices/lvm/zap.py index a6d82c7f0fa3,32c46b299aeb..2b6c1be31e71 --- a/src/ceph-volume/ceph_volume/devices/lvm/zap.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/zap.py @@@ -125,8 -120,9 +120,8 @@@ class Zap raw_devices.add(device) return list(raw_devices) - - def find_associated_devices(self) -> List[api.Volume]: + def find_associated_devices(self) -> List[Device]: """From an ``osd_id`` and/or an ``osd_fsid``, filter out all the Logical Volumes (LVs) in the system that match those tag values, further detect if any partitions are part of the OSD, and then return the set of LVs and partitions (if any).