From 9d9bca995854706719e4ac5e6d940a68eb77ae78 Mon Sep 17 00:00:00 2001 From: Wojciech Tyczynski Date: Thu, 5 Feb 2015 19:37:20 +0100 Subject: [PATCH] kubectl doesn't fail silently with no k8s master --- cluster/kubectl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/kubectl.sh b/cluster/kubectl.sh index 9642c22e426..9a4ca11fdea 100755 --- a/cluster/kubectl.sh +++ b/cluster/kubectl.sh @@ -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