mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
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:
parent
cbc38c4e4a
commit
e3a9113e70
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user