add comments to shell function

pull/564/head
danielqsj 2019-02-24 20:35:46 +08:00
parent cd5e658518
commit f02a986081
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,13 @@ function prepare-e2e() {
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 {
KUBE_MASTER=localhost
KUBE_MASTER_IP=127.0.0.1