Browse Source

Check for correct column name for execution show

Use 'State' instead of 'state'.

Change-Id: I1626e16376da07b887d06089f556faf907b24c35
Related-Bug: #1876646
(cherry picked from commit 9cf9a5a8ab)
tags/12.4.0
Rabi Mishra 2 months ago
parent
commit
381f0146ff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      deployed-server/scripts/enable-ssh-admin.sh

+ 1
- 1
deployed-server/scripts/enable-ssh-admin.sh 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


Loading…
Cancel
Save