From 23198b289c3401f3f05b2afd371203dbb1f3503f Mon Sep 17 00:00:00 2001 From: narindergupta Date: Wed, 17 May 2017 06:39:34 -0500 Subject: [PATCH] fixed syntax error. Change-Id: I04d4fa6fbf68bfe3f320f18a4168be9dd73da6cf Signed-off-by: Narinder Gupta --- ci/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/deploy.sh b/ci/deploy.sh index 932a9f9a..7578d821 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -221,7 +221,7 @@ cnt_list=$(for cnt in $srv_list; do juju status $cnt --format=json | jq -r ".mac public_api_gw=$(cat labconfig.json | jq --raw-output ".opnfv.spaces[] | select(.type==\"public\")".gateway) admin_gw=$(cat labconfig.json | jq --raw-output ".opnfv.spaces[] | select(.type==\"admin\")".gateway) -if ([ $admin_gw ] && [ $admin_gw != "null" ]) +if ([ $admin_gw ] && [ $admin_gw != "null" ]); then # set default gateway to public api gateway for cnt in $cnt_list; do echo "changing default gw on $cnt" -- 2.16.6