diff --git a/cluster/kubectl.sh b/cluster/kubectl.sh index 9a4ca11fdea..9cf53d0e5fa 100755 --- a/cluster/kubectl.sh +++ b/cluster/kubectl.sh @@ -128,5 +128,5 @@ if [[ -n "${KUBE_MASTER_IP-}" && -z "${KUBERNETES_MASTER-}" ]]; then export KUBERNETES_MASTER=https://${KUBE_MASTER_IP} fi -echo "Running:" "${kubectl}" "${config[@]:+${config[@]}}" "${@}" >&2 -"${kubectl}" "${config[@]:+${config[@]}}" "${@}" +echo "Running:" "${kubectl}" "${config[@]:+${config[@]}}" "${@+$@}" >&2 +"${kubectl}" "${config[@]:+${config[@]}}" "${@+$@}"