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
0aa9e67a9d
commit
ed7096f31c
|
@ -40,7 +40,7 @@ function workflow_finished {
|
|||
|
||||
while [ $counter -gt 0 ]
|
||||
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
|
||||
echo "Workflow $execution_id finished with error. Check mistral logs."
|
||||
return 1
|
||||
|
|
Loading…
Reference in New Issue