Fix older bash failing on unbound array variables

Older bash versions fail when trying to expand array variables
when the array is empty.
k3s-v1.15.3
h00130372 2019-04-15 09:47:26 +08:00
parent ed2bdd53dc
commit de95a3344b
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ function start_cloud_controller_manager {
${CONTROLPLANE_SUDO} "${EXTERNAL_CLOUD_PROVIDER_BINARY:-"${GO_OUT}/hyperkube" cloud-controller-manager}" \
--v="${LOG_LEVEL}" \
--vmodule="${LOG_SPEC}" \
"${node_cidr_args[@]}" \
"${node_cidr_args[@]:-}" \
--feature-gates="${FEATURE_GATES}" \
--cloud-provider="${CLOUD_PROVIDER}" \
--cloud-config="${CLOUD_CONFIG}" \