ceph-volume: the metadata field for the lv path is lv_path not path

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
This commit is contained in:
Andrew Schoen 2017-10-19 16:29:39 -05:00
parent cbc38c4e4a
commit e3a9113e70

View File

@ -51,7 +51,7 @@ class Zap(object):
lv = api.get_lv_from_argument(device)
if lv:
# we are zapping a logical volume
path = lv.path
path = lv.lv_path
else:
# we are zapping a partition
#TODO: ensure device is a partition