Add ability to use the RPC endpoint from a node other than the bootstrap leader

This commit is contained in:
Michael Vines
2019-01-16 16:08:18 -08:00
committed by Grimes
parent da1201c552
commit 825d8ef6c9
2 changed files with 22 additions and 4 deletions

View File

@ -216,6 +216,7 @@ while true; do
done
trap 'kill "$pid" && wait "$pid"' INT TERM
# shellcheck disable=SC2086 # Don't want to double quote # maybe_rpc_port
$program \
$maybe_no_leader_rotation \
$maybe_rpc_port \