Merge pull request #4175 from wojtek-t/kubectl_silent

kubectl doesn't fail silently with no k8s master
This commit is contained in:
Jeff Lowdermilk 2015-02-05 14:58:24 -08:00
commit 122124f9e1

View File

@ -123,7 +123,7 @@ elif [[ "${KUBERNETES_PROVIDER}" == "gke" ]]; then
)
fi
detect-master &> /dev/null
detect-master > /dev/null
if [[ -n "${KUBE_MASTER_IP-}" && -z "${KUBERNETES_MASTER-}" ]]; then
export KUBERNETES_MASTER=https://${KUBE_MASTER_IP}
fi