From: Alfredo Deza Date: Tue, 28 Aug 2018 21:28:08 +0000 (-0700) Subject: ceph-volume lvm.batch remove non-existent sys_api property X-Git-Tag: v13.2.2~67^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3a6c8c1aa4bf617e7de03f4197df3df1d35e0604;p=ceph.git ceph-volume lvm.batch remove non-existent sys_api property Signed-off-by: Alfredo Deza (cherry picked from commit a76fccba5ff0058d0dd1ba47f48b34dba27dd51f) --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/batch.py b/src/ceph-volume/ceph_volume/devices/lvm/batch.py index c38613f09f606..1c52278c52c3c 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/batch.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/batch.py @@ -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)