mirror of
https://github.com/ceph/ceph
synced 2025-01-18 17:12:29 +00:00
ceph-volume lvm.batch remove non-existent sys_api property
Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
parent
1b090ca41e
commit
a76fccba5f
@ -15,7 +15,7 @@ def device_formatter(devices):
|
||||
for path, details in devices:
|
||||
lines.append(device_list_template.format(
|
||||
path=path, size=details['human_readable_size'],
|
||||
state='solid' if details.sys_api['rotational'] == '0' else 'rotational')
|
||||
state='solid' if details['rotational'] == '0' else 'rotational')
|
||||
)
|
||||
|
||||
return ''.join(lines)
|
||||
|
Loading…
Reference in New Issue
Block a user