Check for correct column name for execution show
Use 'State' instead of 'state'.
Change-Id: I1626e16376da07b887d06089f556faf907b24c35
Related-Bug: #1876646
(cherry picked from commit 9cf9a5a8ab
)
This commit is contained in:
parent
6ee3e2f111
commit
381f0146ff
|
@ -40,7 +40,7 @@ function workflow_finished {
|
||||||
|
|
||||||
while [ $counter -gt 0 ]
|
while [ $counter -gt 0 ]
|
||||||
do
|
do
|
||||||
RESULT=$(openstack workflow execution show -f value -c state $execution_id)
|
RESULT=$(openstack workflow execution show -f value -c State $execution_id)
|
||||||
if [ "$RESULT" == "ERROR" ]; then
|
if [ "$RESULT" == "ERROR" ]; then
|
||||||
echo "Workflow $execution_id finished with error. Check mistral logs."
|
echo "Workflow $execution_id finished with error. Check mistral logs."
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue