Merge "Handle non-existant plan when getting deployment status"
This commit is contained in:
@@ -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
|
plan=plan
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not status:
|
||||||
|
return
|
||||||
|
|
||||||
payload = status['workflow_status']['payload']
|
payload = status['workflow_status']['payload']
|
||||||
execution = payload['execution']
|
execution = payload['execution']
|
||||||
table = PrettyTable(
|
table = PrettyTable(
|
||||||
|
Reference in New Issue
Block a user