Merge pull request #16986 from pmorie/gce-sc

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-11-10 11:15:27 -08:00
3 changed files with 7 additions and 2 deletions

View File

@@ -713,7 +713,7 @@ function kube-up {
# curl in mavericks is borked.
secure=""
if which sw_vers > /dev/null; then
if which sw_vers >& /dev/null; then
if [[ $(sw_vers | grep ProductVersion | awk '{print $2}') = "10.9."* ]]; then
secure="--insecure"
fi