Fix cinder detach interface change mismatch problem
Fix cinder detach interface change mismatch problem Change-Id: I97a2319df08c90b55a9d16011e7a4da747fbc8a1 Closes-Bug: #1449826
This commit is contained in:
parent
eac3b89426
commit
b0d3faeae4
|
@ -309,7 +309,7 @@ class PowerVCDriver(VolumeDriver):
|
|||
self._service.attach_volume(context, volume, instance_uuid, host_name,
|
||||
mountpoint)
|
||||
|
||||
def detach_volume(self, context, volume):
|
||||
def detach_volume(self, context, volume, attachment):
|
||||
"""Callback for volume detached."""
|
||||
# wait for volume to be detached
|
||||
self._service.detach_volume(context, volume)
|
||||
|
|
Loading…
Reference in New Issue