docker: improve argument passing
This commit is contained in:
parent
b7c2546e5b
commit
f9cbdf9110
@ -114,7 +114,7 @@ launch_baker() {
|
|||||||
wait_for_the_node_to_be_bootstraped
|
wait_for_the_node_to_be_bootstraped
|
||||||
exec "$baker" --base-dir "$client_dir" \
|
exec "$baker" --base-dir "$client_dir" \
|
||||||
--addr "$NODE_HOST" --port "$NODE_RPC_PORT" \
|
--addr "$NODE_HOST" --port "$NODE_RPC_PORT" \
|
||||||
run with local node "$node_data_dir"
|
run with local node "$node_data_dir" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
launch_endorser() {
|
launch_endorser() {
|
||||||
@ -122,7 +122,7 @@ launch_endorser() {
|
|||||||
wait_for_the_node_to_be_bootstraped
|
wait_for_the_node_to_be_bootstraped
|
||||||
exec "$endorser" --base-dir "$client_dir" \
|
exec "$endorser" --base-dir "$client_dir" \
|
||||||
--addr "$NODE_HOST" --port "$NODE_RPC_PORT" \
|
--addr "$NODE_HOST" --port "$NODE_RPC_PORT" \
|
||||||
run --endorsement-delay 10
|
run "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
launch_accuser() {
|
launch_accuser() {
|
||||||
@ -130,5 +130,5 @@ launch_accuser() {
|
|||||||
wait_for_the_node_to_be_bootstraped
|
wait_for_the_node_to_be_bootstraped
|
||||||
exec "$accuser" --base-dir "$client_dir" \
|
exec "$accuser" --base-dir "$client_dir" \
|
||||||
--addr "$NODE_HOST" --port "$NODE_RPC_PORT" \
|
--addr "$NODE_HOST" --port "$NODE_RPC_PORT" \
|
||||||
run
|
run "$@"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user