diff --git a/test/instrumentation/stability-utils.sh b/test/instrumentation/stability-utils.sh index 757311bd9c2..2f674d08d76 100755 --- a/test/instrumentation/stability-utils.sh +++ b/test/instrumentation/stability-utils.sh @@ -123,7 +123,7 @@ kube::update::documentation() { temp_file=$(mktemp) arg1=$1 arg2=$2 - doUpdateDocs=$(go run "test/instrumentation/documentation/main.go" --major $arg1 --minor $arg2 -- 1>"${temp_file}") + doUpdateDocs=$(go run "test/instrumentation/documentation/main.go" --major "$arg1" --minor "$arg2" -- 1>"${temp_file}") if ! $doUpdateDocs; then echo "${red}!!! updating documentation has failed! ${reset}" >&2 exit 1 diff --git a/test/instrumentation/update-documentation.sh b/test/instrumentation/update-documentation.sh index 5090f639cfd..b27a8ae3770 100755 --- a/test/instrumentation/update-documentation.sh +++ b/test/instrumentation/update-documentation.sh @@ -32,4 +32,4 @@ kube::version::get_version_vars # update the documented list of metrics kube::update::documentation::list # now write the actual documentation file -kube::update::documentation $KUBE_GIT_MAJOR $KUBE_GIT_MINOR +kube::update::documentation "$KUBE_GIT_MAJOR" "$KUBE_GIT_MINOR"