mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 20:29:56 +00:00
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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user