Skip to content

Commit 57c7310

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "refectory: remove unreachable code"
2 parents 7c18388 + 9e4dbd1 commit 57c7310

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)