Unverified Commit f288678c authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #73261 from danielqsj/local

fix shellcheck in cluster/local
parents d0f79fcf f02a9860
...@@ -18,9 +18,16 @@ function prepare-e2e() { ...@@ -18,9 +18,16 @@ function prepare-e2e() {
echo "Local doesn't need special preparations for e2e tests" 1>&2 echo "Local doesn't need special preparations for e2e tests" 1>&2
} }
# Detect the IP for the master
#
# Vars set:
# KUBE_MASTER
# KUBE_MASTER_IP
# Vars exported:
# KUBE_MASTER_URL
function detect-master { function detect-master {
KUBE_MASTER=localhost KUBE_MASTER=localhost
KUBE_MASTER_IP=127.0.0.1 KUBE_MASTER_IP=127.0.0.1
KUBE_MASTER_URL="http://${KUBE_MASTER_IP}:8080" export KUBE_MASTER_URL="http://${KUBE_MASTER_IP}:8080"
echo "Using master: $KUBE_MASTER (external IP: $KUBE_MASTER_IP)" echo "Using master: $KUBE_MASTER (external IP: $KUBE_MASTER_IP)"
} }
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
./cluster/kubemark/gce/config-default.sh ./cluster/kubemark/gce/config-default.sh
./cluster/kubemark/iks/config-default.sh ./cluster/kubemark/iks/config-default.sh
./cluster/kubemark/util.sh ./cluster/kubemark/util.sh
./cluster/local/util.sh
./cluster/log-dump/log-dump.sh ./cluster/log-dump/log-dump.sh
./cluster/pre-existing/util.sh ./cluster/pre-existing/util.sh
./cluster/restore-from-backup.sh ./cluster/restore-from-backup.sh
......
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