Skip to content

Commit 9e4dbd1

Browse files
committed
refectory: remove unreachable code
Change-Id: If12a550451f5aafe3e2fb5aaa0257319ea908fe3 Signed-off-by: Youngjun <yj.yoo@okestro.com>
1 parent 2f9a523 commit 9e4dbd1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

openstackclient/compute/v2/server_migration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ def _get_migration_by_uuid(compute_client, server_id, migration_uuid):
252252
for migration in compute_client.server_migrations(server_id):
253253
if migration.uuid == migration_uuid:
254254
return migration
255-
break
256255
else:
257256
msg = _('In-progress live migration %s is not found for server %s.')
258257
raise exceptions.CommandError(msg % (migration_uuid, server_id))

0 commit comments

Comments
 (0)