Skip to content

Commit

Permalink
Merge pull request #780 from mandre/fix-RDMA_CNI_IMAGE
Browse files Browse the repository at this point in the history
Fix syntax for RDMA_CNI_IMAGE var substitution
  • Loading branch information
zeeke authored Sep 22, 2024
2 parents e2d0611 + f94fa64 commit 4bae6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else
# ensure that OVS_CNI_IMAGE is set, empty string is a valid value
OVS_CNI_IMAGE=${OVS_CNI_IMAGE:-}
# ensure that RDMA_CNI_IMAGE is set, empty string is a valid value
RDMA_CNI_IMAGE=${$RDMA_CNI_IMAGE:-}
RDMA_CNI_IMAGE=${RDMA_CNI_IMAGE:-}
METRICS_EXPORTER_KUBE_RBAC_PROXY_IMAGE=${METRICS_EXPORTER_KUBE_RBAC_PROXY_IMAGE:-}
[ -z $SRIOV_CNI_IMAGE ] && echo "SRIOV_CNI_IMAGE is empty but SKIP_VAR_SET is set" && exit 1
[ -z $SRIOV_INFINIBAND_CNI_IMAGE ] && echo "SRIOV_INFINIBAND_CNI_IMAGE is empty but SKIP_VAR_SET is set" && exit 1
Expand Down

0 comments on commit 4bae6ce

Please sign in to comment.