Check for correct column name for execution show
Use 'State' instead of 'state'. Change-Id: I1626e16376da07b887d06089f556faf907b24c35 Related-Bug: #1876646
This commit is contained in:
parent
2acb0d376b
commit
9cf9a5a8ab
|
@ -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