We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d142210 + 0e95b27 commit 9ee47b0Copy full SHA for 9ee47b0
src/ceph-volume/ceph_volume/util/disk.py
@@ -882,6 +882,7 @@ def get_devices(_sys_block_path='/sys/block', device=''):
882
for key, file_ in facts:
883
metadata[key] = get_file_contents(os.path.join(sysdir, file_))
884
885
+ device_slaves = []
886
if block[2] != 'part':
887
device_slaves = os.listdir(os.path.join(sysdir, 'slaves'))
888
metadata['partitions'] = get_partitions_facts(sysdir)
0 commit comments