Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 BUG]: replacing an array config option using environment variables doesn't work. #1308

Closed
rustatian opened this issue Sep 27, 2022 Discussed in #1307 · 0 comments · Fixed by roadrunner-server/config#20
Assignees
Labels
B-bug Bug: bug, exception B-regression Bug: regression bugs
Milestone

Comments

@rustatian
Copy link
Member

Discussed in #1307

Originally posted by lyt8384 September 27, 2022
Sorry about my poor English~ I am try to using the environment variables to replace a array config options, but isn`t work, like this.

redis:
  addrs:
    - "${REDIS_HOST_1}"
    - "${REDIS_HSOT_2}"

but it got
Error 'rpc_mget: redis_driver_mget: dial tcp: address ${REDIS_HOST_1}: missing port in address'

@rustatian rustatian added B-bug Bug: bug, exception B-regression Bug: regression bugs labels Sep 27, 2022
@rustatian rustatian added this to the v2.11.3 milestone Sep 27, 2022
@rustatian rustatian self-assigned this Sep 27, 2022
@rustatian rustatian mentioned this issue Sep 29, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: bug, exception B-regression Bug: regression bugs
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant