Avoid setting RUST_LOG to the empty string (#5338)

This commit is contained in:
Michael Vines
2019-07-31 10:13:30 -07:00
committed by GitHub
parent c209e14e40
commit 9b8b7dbfd7
4 changed files with 12 additions and 8 deletions

View File

@ -8,7 +8,9 @@ deployMethod="$1"
nodeType="$2"
entrypointIp="$3"
numNodes="$4"
RUST_LOG="$5"
if [[ -n $5 ]]; then
export RUST_LOG="$5"
fi
skipSetup="$6"
failOnValidatorBootupFailure="$7"
externalPrimordialAccountsFile="$8"
@ -23,7 +25,6 @@ benchExchangeExtraArgs="${16}"
genesisOptions="${17}"
extraNodeArgs="${18}"
set +x
export RUST_LOG
# Use a very large stake (relative to the default multinode-demo/ stake of 42)
# for the testnet validators setup by net/. This make it less likely that