Merge "overcloud status: return a message if no deployment is found" into stable/rocky

This commit is contained in:
Zuul 2019-09-03 20:26:52 +00:00 committed by Gerrit Code Review
commit 7fe6365461
1 changed files with 1 additions and 0 deletions

View File

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