File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -78,20 +78,24 @@ if [ ! -d "$CONFIG_HOME/$NETWORK" ]; then
7878fi
7979
8080
81-
81+ DEFAULT_NETWORK_CONFIG= " $CONFIG_HOME / $NETWORK /db-sync-config.json "
8282if [[ -z " ${DB_SYNC_CONFIG:- } " ]]; then
83- DB_SYNC_CONFIG=" $CONFIG_HOME / $NETWORK "
83+ DB_SYNC_CONFIG=" $DEFAULT_NETWORK_CONFIG "
8484
8585elif [[ -z " ${IS_NETWORK_ENV_SET:- } " ]]; then # dbsync config is set and network is not
86- DB_SYNC_CONFIG=" $CONFIG_HOME / $NETWORK "
86+ DB_SYNC_CONFIG=" $DEFAULT_NETWORK_CONFIG "
8787
8888else # # both NETWORK and DB_SYNC_CONFIG are set
8989
9090 MERGED_CONFIG=" $CONFIG_HOME /$NETWORK /merged-config.json"
9191 # take the keys from config file and replace i the original config.
92- ./update_json_keys.sh " $DB_SYNC_CONFIG " \
92+ echo ' ./update_json_keys.sh' " $DB_SYNC_CONFIG " \
9393 " $CONFIG_HOME /$NETWORK " \
9494 " $MERGED_CONFIG "
95+
96+ ./update_json_keys.sh " $DB_SYNC_CONFIG " \
97+ " $DEFAULT_NETWORK_CONFIG " \
98+ " $MERGED_CONFIG "
9599 DB_SYNC_CONFIG=" $MERGED_CONFIG "
96100fi
97101
You can’t perform that action at this time.
0 commit comments