Commit 80d22785 authored by Madhusudan.C.S's avatar Madhusudan.C.S

Address review comments.

parent b26c28d6
...@@ -52,10 +52,12 @@ function get_version() { ...@@ -52,10 +52,12 @@ function get_version() {
if [[ -n "${KUBERNETES_RELEASE:-}" ]]; then if [[ -n "${KUBERNETES_RELEASE:-}" ]]; then
echo "${KUBERNETES_RELEASE//+/_}" echo "${KUBERNETES_RELEASE//+/_}"
return return
elif [[ ! -f "${versions_file}" ]]; then fi
if [[ ! -f "${versions_file}" ]]; then
echo "Couldn't determine the release version: neither the " \ echo "Couldn't determine the release version: neither the " \
"KUBERNETES_RELEASE environment variable is set, nor the " \ "KUBERNETES_RELEASE environment variable is set, nor does " \
"versions file is provided" "the versions file exist at ${versions_file}"
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment