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:
Jerry Cai 2015-04-29 11:15:45 +08:00
parent eac3b89426
commit b0d3faeae4
1 changed files with 1 additions and 1 deletions

View File

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