aboutsummaryrefslogtreecommitdiffstats
path: root/kud/tests/plugin_edgex.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kud/tests/plugin_edgex.sh')
-rwxr-xr-xkud/tests/plugin_edgex.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/kud/tests/plugin_edgex.sh b/kud/tests/plugin_edgex.sh
index ae390add..ff27ab27 100755
--- a/kud/tests/plugin_edgex.sh
+++ b/kud/tests/plugin_edgex.sh
@@ -19,10 +19,8 @@ source _common.sh
if [ ${1:+1} ]; then
if [ "$1" == "--external" ]; then
- master_ip=$(kubectl cluster-info | grep "Kubernetes master" | \
- awk -F ":" '{print $2}' | awk -F "//" '{print $2}')
onap_svc_node_port=30498
- base_url="http://$master_ip:$onap_svc_node_port/v1"
+ base_url="http://$(control_plane_ip):$onap_svc_node_port/v1"
fi
fi