aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2019-05-08 15:44:08 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-05-08 15:44:13 -0700
commit3a6d8ecba65a9c99cd5c2542978465969ead1590 (patch)
treed7b530d9170386ad3fe6565a6fbc87c48b738250
parent3224842f7f977041019cb5b2cccd3f86b5a38d9f (diff)
Check always returns true for install_plugin
The [[ test for KUD_PLUGIN_ENABLED always returns true. Removed [[ to use the boolean operation instead. Issue-ID: MULTICLOUD-616 Change-Id: I6bbd0c462ab7bb66447dec8dd16d786062a9c586 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
-rwxr-xr-xkud/hosting_providers/vagrant/installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/hosting_providers/vagrant/installer.sh b/kud/hosting_providers/vagrant/installer.sh
index 60e05ffb..c17f89e8 100755
--- a/kud/hosting_providers/vagrant/installer.sh
+++ b/kud/hosting_providers/vagrant/installer.sh
@@ -234,7 +234,7 @@ fi
sudo apt-get update
install_k8s
install_addons
-if [[ "${KUD_PLUGIN_ENABLED:-false}" ]]; then
+if ${KUD_PLUGIN_ENABLED:-false}; then
install_plugin
fi
_print_kubernetes_info