Merge "api cinder volume_migrate wrong number of params"
This commit is contained in:
commit
4fefd961a1
@ -334,10 +334,12 @@ def volume_get_encryption_metadata(request, volume_id):
|
||||
return cinderclient(request).volumes.get_encryption_metadata(volume_id)
|
||||
|
||||
|
||||
def volume_migrate(request, volume_id, host, force_host_copy=False):
|
||||
def volume_migrate(request, volume_id, host, force_host_copy=False,
|
||||
lock_volume=False):
|
||||
return cinderclient(request).volumes.migrate_volume(volume_id,
|
||||
host,
|
||||
force_host_copy)
|
||||
force_host_copy,
|
||||
lock_volume)
|
||||
|
||||
|
||||
def volume_snapshot_get(request, snapshot_id):
|
||||
|
Loading…
x
Reference in New Issue
Block a user