Skip to content

Commit cae6b94

Browse files
placeksgillespie
authored andcommitted
Rename the ENV to match standard
In order to match the current naming standard in the ENVs that control the configuration of the Cardano DBSync docker service this commit changes the name of the ENV responsible for config file to `DB_SYNC_CONFIG`.
1 parent 0c309dd commit cae6b94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nix/nixos/cardano-db-sync-service.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ in {
217217
LEDGER_OPTS="--state-dir ${cfg.stateDir}"
218218
fi
219219
220-
if [[ -z "''${CARDANO_DB_SYNC_CONFIG:-}" ]]; then
220+
if [[ -z "''${DB_SYNC_CONFIG:-}" ]]; then
221221
exec ${exec} \
222222
--config ${configFile} \
223223
--socket-path "$CARDANO_NODE_SOCKET_PATH" \
@@ -227,7 +227,7 @@ in {
227227
''${EXTRA_DB_SYNC_ARGS:-}
228228
else
229229
exec ${exec} \
230-
--config "$CARDANO_DB_SYNC_CONFIG" \
230+
--config "$DB_SYNC_CONFIG" \
231231
--socket-path "$CARDANO_NODE_SOCKET_PATH" \
232232
--schema-dir ${self.schema} \
233233
${toString cfg.rtsArgs} \

0 commit comments

Comments
 (0)