ceph-volume lvm.batch remove non-existent sys_api property

Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
Alfredo Deza 2018-08-28 14:28:08 -07:00
parent 1b090ca41e
commit a76fccba5f

View File

@ -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)