mirror of https://github.com/status-im/consul.git
Suppress "unbound variable" error. (#14424)
Without this change, you'd see this error: ``` ./run-tests.sh: line 49: LAMBDA_TESTS_ENABLED: unbound variable ./run-tests.sh: line 49: LAMBDA_TESTS_ENABLED: unbound variable ```
This commit is contained in:
parent
a80e0bcd00
commit
095764a482
|
@ -46,7 +46,8 @@ function network_snippet {
|
||||||
}
|
}
|
||||||
|
|
||||||
function aws_snippet {
|
function aws_snippet {
|
||||||
if [[ ! -z "$LAMBDA_TESTS_ENABLED" ]]; then
|
LAMBDA_TESTS_ENABLED=${LAMBDA_TESTS_ENABLED:-false}
|
||||||
|
if [ "$LAMBDA_TESTS_ENABLED" != false ]; then
|
||||||
local snippet=""
|
local snippet=""
|
||||||
|
|
||||||
# The Lambda integration cases assume that a Lambda function exists in $AWS_REGION with an ARN of $AWS_LAMBDA_ARN.
|
# The Lambda integration cases assume that a Lambda function exists in $AWS_REGION with an ARN of $AWS_LAMBDA_ARN.
|
||||||
|
|
Loading…
Reference in New Issue