From 5b839f7796c12a4afda2cf697ec8028070065cc1 Mon Sep 17 00:00:00 2001
From: Khouloud Touil <ktouil@baylibre.com>
Date: Wed, 1 May 2019 15:02:57 +0200
Subject: Fix the status problem of lavacli

When using --yaml option to show the job information the 'Health' is no
longer with capital 'H'. This patch change the 'Health" to 'health'.

Change-Id: Ifd463b4aee9ca90bbaa017e2f409a5105cec3e93
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
---
 jjb/common/include-agl-lava-jobs-submit.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'jjb/common')

diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh
index ae980424..9c00d329 100644
--- a/jjb/common/include-agl-lava-jobs-submit.sh
+++ b/jjb/common/include-agl-lava-jobs-submit.sh
@@ -55,7 +55,7 @@ for i in $(seq 1 $JOB_TIMEOUT); do
     fi
     state=$(grep ^state: $JOB_STATUS| cut -d' ' -f2)
     if [ $state == "Finished" ]; then
-		status=$(grep ^Health: $JOB_STATUS| cut -d' ' -f2)
+		status=$(grep ^health: $JOB_STATUS| cut -d' ' -f2)
 		echo "LAVA job $job_id completed with status: $status"
 		break
     fi
-- 
cgit