Merge "overcloud status: return a message if no deployment is found"

This commit is contained in:
Zuul 2019-08-30 12:27:43 +00:00 committed by Gerrit Code Review
commit 0ee7523dbf
1 changed files with 1 additions and 0 deletions

View File

@ -1017,6 +1017,7 @@ class GetDeploymentStatus(command.Command):
)
if not status:
print('No deployment was found for %s' % plan)
return
payload = status['workflow_status']['payload']