Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: Support config files with viper #4696

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

Merged
merged 2 commits into from
Oct 21, 2022
Merged

feat: Support config files with viper #4696

merged 2 commits into from
Oct 21, 2022

Conversation

kylecarbs
Copy link
Member

Fixes up #4558 with some tests. There were actually a few flags that didn't map up, so good we had these!

@kylecarbs kylecarbs self-assigned this Oct 21, 2022
@kylecarbs kylecarbs requested a review from a team as a code owner October 21, 2022 21:54
@kylecarbs kylecarbs requested review from presleyp and removed request for a team October 21, 2022 21:54
@kylecarbs kylecarbs merged commit 7bc5b89 into main Oct 21, 2022
@kylecarbs kylecarbs deleted the config branch October 21, 2022 22:08
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2022
DERPServerRelayURL: codersdk.DeploymentConfigField[string]{
Key: "derp.server.relay_url",
Usage: "An HTTP URL that is accessible by other replicas to relay DERP traffic. Required for high availability.",
Flag: "derp-server-relay-url",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you ok with this breaking this flag?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, URL just makes more sense and this one is new

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants