From: Kiran Kamineni Date: Wed, 8 May 2019 22:44:08 +0000 (-0700) Subject: Check always returns true for install_plugin X-Git-Tag: 0.4.0~23 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=3a6d8ecba65a9c99cd5c2542978465969ead1590;p=multicloud%2Fk8s.git 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 --- 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