Remove duplicated detect-master for local

cluster/local/util.sh contains duplicated detect-master() and the
first one is unused at all. This removes the first one for the code
cleanup.
pull/8/head
Ken'ichi Ohmichi 2018-08-15 19:01:14 +00:00
parent 1da4c59e46
commit 2bdae8f3d0
1 changed files with 0 additions and 6 deletions

View File

@ -18,13 +18,7 @@ function prepare-e2e() {
echo "Local doesn't need special preparations for e2e tests" 1>&2
}
# Must ensure that the following ENV vars are set
function detect-master {
export KUBE_MASTER_IP="127.0.0.1"
export KUBE_MASTER="localhost"
}
detect-master() {
KUBE_MASTER=localhost
KUBE_MASTER_IP=127.0.0.1
KUBE_MASTER_URL="http://${KUBE_MASTER_IP}:8080"