Automatically download the latest stable release version of

Kubernetes. Echo error to stderr. Simplify expression for
KUBE_VERSION. Explicitly match beginning of string.
This commit is contained in:
Ovidiu Predescu
2016-05-09 12:50:50 -07:00
parent 8a81000b71
commit dd203087ef
2 changed files with 16 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ function get_latest_version_number {
elif [[ $(which curl) ]]; then
curl -Ss ${latest_url}
else
echo "Couldn't find curl or wget. Bailing out."
echo "Couldn't find curl or wget. Bailing out." >&2
exit 4
fi
}