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:
Rabi Mishra 2020-07-01 08:53:21 +05:30
parent 0aa9e67a9d
commit ed7096f31c
1 changed files with 1 additions and 1 deletions

View File

@ -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