Merge "Handle non-existant plan when getting deployment status"
This commit is contained in:
commit
0bf7e4530d
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- When requesting the deployment status of a non-existant plan, instead of
|
||||
showing a traceback, show a helpful message indicating there is no status.
|
@ -973,6 +973,9 @@ class GetDeploymentStatus(command.Command):
|
||||
plan=plan
|
||||
)
|
||||
|
||||
if not status:
|
||||
return
|
||||
|
||||
payload = status['workflow_status']['payload']
|
||||
execution = payload['execution']
|
||||
table = PrettyTable(
|
||||
|
Loading…
x
Reference in New Issue
Block a user