Skip to content

Commit 62ccd69

Browse files
authored
fix: default vairables in start script (#3725)
* fix: default node_role vairable in start script * fix: default value for node_id
1 parent 63e8965 commit 62ccd69

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/start

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ fi
105105

106106
trap save_coredumps EXIT
107107

108-
export PGAPPNAME="${node_id-$HOSTNAME}"
108+
export PGAPPNAME="${node_id:-$HOSTNAME}"
109109

110110
# Set custom poll interval
111111
if [ -n "$ethereum_polling_interval" ]; then
112112
export ETHEREUM_POLLING_INTERVAL=$ethereum_polling_interval
113113
fi
114114

115-
case "${node_role-combined-node}" in
115+
case "${node_role:-combined-node}" in
116116
query-node)
117117
start_query_node
118118
;;

0 commit comments

Comments
 (0)