Merge "Use v2 endpoint with v2 shell for migration"

This commit is contained in:
Jenkins 2013-10-03 11:13:06 +00:00 committed by Gerrit Code Review
commit 10a3c0fc84

@ -805,7 +805,7 @@ def do_upload_to_image(cs, args):
'host-based migration mechanism, bypassing driver '
'optimizations (Default=False).',
default=False)
@utils.service_type('volume')
@utils.service_type('volumev2')
def do_migrate(cs, args):
"""Migrate the volume to the new host."""
volume = _find_volume(cs, args.volume)