mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 00:34:10 -04:00
Merge pull request #4175 from wojtek-t/kubectl_silent
kubectl doesn't fail silently with no k8s master
This commit is contained in:
commit
122124f9e1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue