Commit 2bdae8f3 authored by Ken'ichi Ohmichi's avatar Ken'ichi Ohmichi

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.
parent 1da4c59e
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment