Merge pull request #13088 from Huawei-PaaS/UtilShell_WrongWord

Correct the wrong words in shell comments
This commit is contained in:
Nikhil Jindal 2015-08-24 10:36:38 -07:00
commit 5614d21438

View File

@ -29,7 +29,7 @@ source "${KUBE_ROOT}/cluster/kube-util.sh"
function usage() { function usage() {
echo "${0} [-m|-n <node id>] <version>" echo "${0} [-m|-n <node id>] <version>"
echo " Updates Kurnetes binaries. Can be done for all components (by default), master(-m) or specified node(-n)." echo " Updates Kubernetes binaries. Can be done for all components (by default), master(-m) or specified node(-n)."
echo " If the version is not specified will try to use local binaries." echo " If the version is not specified will try to use local binaries."
echo " Warning: upgrading single node is experimental" echo " Warning: upgrading single node is experimental"
} }
@ -70,7 +70,7 @@ if [[ "${push_to_master}" == "false" ]] && [[ "${push_to_node}" == "false" ]]; t
fi fi
if [[ "${push_to_master}" == "true" ]]; then if [[ "${push_to_master}" == "true" ]]; then
echo "Udating master to version ${KUBE_VERSION:-"dev"}" echo "Updating master to version ${KUBE_VERSION:-"dev"}"
prepare-push false prepare-push false
push-master push-master
fi fi