Merge "Correct error message for "create server --wait""

This commit is contained in:
Zuul 2024-01-10 16:09:48 +00:00 committed by Gerrit Code Review
commit b740f2f6bd

View File

@ -2005,9 +2005,7 @@ class CreateServer(command.ShowOne):
):
self.app.stdout.write('\n')
else:
msg = (
_('Error unshelving server: %s') % parsed_args.server_name
)
msg = _('Error creating server: %s') % parsed_args.server_name
raise exceptions.CommandError(msg)
details = _prep_server_detail(compute_client, image_client, server)