mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #13088 from Huawei-PaaS/UtilShell_WrongWord
Correct the wrong words in shell comments
This commit is contained in:
commit
5614d21438
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user