refectory: remove unreachable code
Change-Id: If12a550451f5aafe3e2fb5aaa0257319ea908fe3 Signed-off-by: Youngjun <yj.yoo@okestro.com>
This commit is contained in:
parent
2f9a523765
commit
9e4dbd1d82
@ -252,7 +252,6 @@ def _get_migration_by_uuid(compute_client, server_id, migration_uuid):
|
|||||||
for migration in compute_client.server_migrations(server_id):
|
for migration in compute_client.server_migrations(server_id):
|
||||||
if migration.uuid == migration_uuid:
|
if migration.uuid == migration_uuid:
|
||||||
return migration
|
return migration
|
||||||
break
|
|
||||||
else:
|
else:
|
||||||
msg = _('In-progress live migration %s is not found for server %s.')
|
msg = _('In-progress live migration %s is not found for server %s.')
|
||||||
raise exceptions.CommandError(msg % (migration_uuid, server_id))
|
raise exceptions.CommandError(msg % (migration_uuid, server_id))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user