aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Bańka <k.banka@samsung.com>2019-07-04 09:10:25 +0200
committerKonrad Bańka <k.banka@samsung.com>2019-07-16 14:05:25 +0200
commitc9a8ac4b9a1a08e59f993edcec3148af56cb7c47 (patch)
tree0b6e4ffe7a36a6443bf4d1004c965c6fbeca97cb
parentba4a7991e10172a31cec65ae5c9ad11cbb1b806b (diff)
Correct k8splugin endpoint configuration in KUD test
Plugin.sh was misconfigured to connect at wrong port of k8splugin service. Issue-ID: MULTICLOUD-686 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I53e7e4d6fdb727adc755318012ee262dbec811ef
-rwxr-xr-xkud/tests/plugin.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/kud/tests/plugin.sh b/kud/tests/plugin.sh
index af74af5f..59daa1c3 100755
--- a/kud/tests/plugin.sh
+++ b/kud/tests/plugin.sh
@@ -17,7 +17,7 @@ source _common.sh
source _common_test.sh
source _functions.sh
-base_url="http://localhost:8081"
+base_url="http://localhost:9015"
#Will resolve to file $KUBE_CONFIG_DIR/kud
cloud_region_id="kud"
namespace="testns"
@@ -34,10 +34,10 @@ function _build_generic_sim {
return
fi
BUILD_ARGS="--no-cache"
- if [ $HTTP_PROXY ]; then
+ if [ ${HTTP_PROXY:-} ]; then
BUILD_ARGS+=" --build-arg HTTP_PROXY=${HTTP_PROXY}"
fi
- if [ $HTTPS_PROXY ]; then
+ if [ ${HTTPS_PROXY:-} ]; then
BUILD_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}"
fi