Don't print debugging things on every run of kubectl.sh

This commit is contained in:
Daniel Smith
2015-05-08 15:53:09 -07:00
parent 857d88b286
commit ccecb115ed
2 changed files with 8 additions and 5 deletions

View File

@@ -23,11 +23,10 @@ source "${KUBE_ROOT}/cluster/gce/${KUBE_CONFIG_FILE-"config-default.sh"}"
source "${KUBE_ROOT}/cluster/common.sh"
if [[ "${OS_DISTRIBUTION}" == "debian" || "${OS_DISTRIBUTION}" == "coreos" ]]; then
echo "Starting cluster using os distro: ${OS_DISTRIBUTION}" >&2
source "${KUBE_ROOT}/cluster/gce/${OS_DISTRIBUTION}/helper.sh"
else
echo "Cannot start cluster using os distro: ${OS_DISTRIBUTION}" >&2
return
echo "Cannot operate on cluster using os distro: ${OS_DISTRIBUTION}" >&2
exit 1
fi
NODE_INSTANCE_PREFIX="${INSTANCE_PREFIX}-minion"