Skip to content

Commit

Permalink
MGMT-15732: Fix unbound variable
Browse files Browse the repository at this point in the history
https://issues.redhat.com/browse/MGMT-15732
Variable didn't have a default value, causing
tests to exit prematurely due to the potential
of this being unset.
  • Loading branch information
CrystalChun committed Sep 15, 2023
1 parent 60d8a47 commit 8e093d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/operator/capi/deploy_capi_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export LOAD_BALANCER_IP="${LOAD_BALANCER_IP:-192.168.111.1}"
export HYPERSHIFT_IMAGE="${HYPERSHIFT_IMAGE:-quay.io/hypershift/hypershift-operator:latest}"
export CONTROL_PLANE_OPERATOR_IMAGE="${CONTROL_PLANE_OPERATOR_IMAGE:-}"
export PROVIDER_IMAGE="${PROVIDER_IMAGE:-}"
export EXTRA_HYPERSHIFT_INSTALL_FLAGS="${EXTRA_HYPERSHIFT_INSTALL_FLAGS}"
export EXTRA_HYPERSHIFT_INSTALL_FLAGS="${EXTRA_HYPERSHIFT_INSTALL_FLAGS:-}"

if [[ ${SPOKE_CONTROLPLANE_AGENTS} -eq 1 ]]; then
export USER_MANAGED_NETWORKING="true"
Expand Down
2 changes: 1 addition & 1 deletion deploy/operator/hypershift/deploy_hypershift_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export CLUSTER_HOST_PREFIX="${CLUSTER_HOST_PREFIX_V4}"
export EXTERNAL_SUBNET="${EXTERNAL_SUBNET_V4}"
export SERVICE_SUBNET="${SERVICE_SUBNET_V4}"
export PUBLIC_CONTAINER_REGISTRIES="${PUBLIC_CONTAINER_REGISTRIES:-quay.io}"
export EXTRA_HYPERSHIFT_INSTALL_FLAGS="${EXTRA_HYPERSHIFT_INSTALL_FLAGS}"
export EXTRA_HYPERSHIFT_INSTALL_FLAGS="${EXTRA_HYPERSHIFT_INSTALL_FLAGS:-}"

set -o nounset
set -o pipefail
Expand Down

0 comments on commit 8e093d4

Please sign in to comment.