summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authornarindergupta <narinder.gupta@canonical.com>2017-05-17 06:39:34 -0500
committernarindergupta <narinder.gupta@canonical.com>2017-05-17 06:39:34 -0500
commit23198b289c3401f3f05b2afd371203dbb1f3503f (patch)
tree1a512f24d89440475d18f0399261997497d9707c /ci/deploy.sh
parented4e8b6ac4636af8dae71809dff71b8259ed936f (diff)
fixed syntax error.
Change-Id: I04d4fa6fbf68bfe3f320f18a4168be9dd73da6cf Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh2
1 files changed, 1 insertions, 1 deletions
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"