]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #61258 from guits/cv-hints
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 23 Jan 2025 11:57:13 +0000 (12:57 +0100)
committerGitHub <noreply@github.com>
Thu, 23 Jan 2025 11:57:13 +0000 (12:57 +0100)
ceph-volume: type annotations

1  2 
src/ceph-volume/ceph_volume/devices/lvm/zap.py

index a6d82c7f0fa3e9df08c81aae85211c8b8a027291,32c46b299aeb5a7d77bba81872e3f4a0eda7ee3e..2b6c1be31e71f25fea1562d205a2f1cc5a966689
@@@ -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).