Skip to content

Commit

Permalink
bf(UTAPI-92): Fix redis password loading
Browse files Browse the repository at this point in the history
  • Loading branch information
tmacro committed May 25, 2023
1 parent 84bc7e1 commit 7f9c9aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libV2/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ class Config {
`${prefix}_SENTINEL_PASSWORD`,
config.sentinelPassword,
);
redisConf.password = _loadFromEnv(
`${prefix}_PASSWORD`,
config.password,
);
} else {
redisConf.host = _loadFromEnv(
`${prefix}_HOST`,
Expand Down

0 comments on commit 7f9c9aa

Please sign in to comment.