Skip to content

Commit de95a33

Browse files
author
h00130372
committed
Fix older bash failing on unbound array variables
Older bash versions fail when trying to expand array variables when the array is empty.
1 parent ed2bdd5 commit de95a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/local-up-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ function start_cloud_controller_manager {
671671
${CONTROLPLANE_SUDO} "${EXTERNAL_CLOUD_PROVIDER_BINARY:-"${GO_OUT}/hyperkube" cloud-controller-manager}" \
672672
--v="${LOG_LEVEL}" \
673673
--vmodule="${LOG_SPEC}" \
674-
"${node_cidr_args[@]}" \
674+
"${node_cidr_args[@]:-}" \
675675
--feature-gates="${FEATURE_GATES}" \
676676
--cloud-provider="${CLOUD_PROVIDER}" \
677677
--cloud-config="${CLOUD_CONFIG}" \

0 commit comments

Comments
 (0)