From: narindergupta Date: Wed, 17 May 2017 11:39:34 +0000 (-0500) Subject: fixed syntax error. X-Git-Tag: opnfv-5.0.RC1~118 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F34891%2F1;p=joid.git fixed syntax error. Change-Id: I04d4fa6fbf68bfe3f320f18a4168be9dd73da6cf Signed-off-by: Narinder Gupta --- 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"