fixed syntax error. 91/34891/1
authornarindergupta <narinder.gupta@canonical.com>
Wed, 17 May 2017 11:39:34 +0000 (06:39 -0500)
committernarindergupta <narinder.gupta@canonical.com>
Wed, 17 May 2017 11:39:34 +0000 (06:39 -0500)
Change-Id: I04d4fa6fbf68bfe3f320f18a4168be9dd73da6cf
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/deploy.sh

index 932a9f9..7578d82 100755 (executable)
@@ -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"