Browse Source

unescape $NODE_FLAGS (see comment)

pull/849/head
Anton Kaliaev 7 years ago
parent
commit
fe3c92ecce
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      test/p2p/peer.sh

+ 3
- 1
test/p2p/peer.sh View File

@ -14,6 +14,8 @@ set +eu
echo "starting tendermint peer ID=$ID" echo "starting tendermint peer ID=$ID"
# start tendermint container on the network # start tendermint container on the network
# NOTE: $NODE_FLAGS should be unescaped (no quotes). otherwise it will be
# treated as one flag.
set -u set -u
docker run -d \ docker run -d \
--net="$NETWORK_NAME" \ --net="$NETWORK_NAME" \
@ -25,4 +27,4 @@ docker run -d \
--log-opt syslog-address=udp://127.0.0.1:5514 \ --log-opt syslog-address=udp://127.0.0.1:5514 \
--log-opt syslog-facility=daemon \ --log-opt syslog-facility=daemon \
--log-opt tag="{{.Name}}" \ --log-opt tag="{{.Name}}" \
"$DOCKER_IMAGE" node "$NODE_FLAGS" --log_level=debug --proxy_app="$APP_PROXY"
"$DOCKER_IMAGE" node $NODE_FLAGS --log_level=debug --proxy_app="$APP_PROXY"

Loading…
Cancel
Save