Skip to content

Commit

Permalink
kubectl doesn't fail silently with no k8s master
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-t committed Feb 5, 2015
1 parent 0b801a9 commit 9d9bca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/kubectl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d9bca9

Please sign in to comment.