mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Merge pull request #4393 from erictune/no_port_conflict
Show help message in kubectl.sh if no args.
This commit is contained in:
commit
e54fe118d7
@ -128,5 +128,5 @@ if [[ -n "${KUBE_MASTER_IP-}" && -z "${KUBERNETES_MASTER-}" ]]; then
|
|||||||
export KUBERNETES_MASTER=https://${KUBE_MASTER_IP}
|
export KUBERNETES_MASTER=https://${KUBE_MASTER_IP}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running:" "${kubectl}" "${config[@]:+${config[@]}}" "${@}" >&2
|
echo "Running:" "${kubectl}" "${config[@]:+${config[@]}}" "${@+$@}" >&2
|
||||||
"${kubectl}" "${config[@]:+${config[@]}}" "${@}"
|
"${kubectl}" "${config[@]:+${config[@]}}" "${@+$@}"
|
||||||
|
Loading…
Reference in New Issue
Block a user