summaryrefslogtreecommitdiffstats
path: root/kud/tests/plugin_fw_v2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kud/tests/plugin_fw_v2.sh')
-rwxr-xr-xkud/tests/plugin_fw_v2.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/kud/tests/plugin_fw_v2.sh b/kud/tests/plugin_fw_v2.sh
index abab9004..86ef97f9 100755
--- a/kud/tests/plugin_fw_v2.sh
+++ b/kud/tests/plugin_fw_v2.sh
@@ -56,8 +56,7 @@ while [[ $# -gt 0 ]]; do
case $arg in
"--external" )
- service_host=$(kubectl cluster-info | grep "Kubernetes master" | \
- awk -F ":" '{print $2}' | awk -F "//" '{print $2}')
+ service_host=$(control_plane_ip)
shift
;;
* )