Skip to content

fix(clibase): allow string-array properties to be unset by environment variable #6792

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

Closed
wants to merge 2 commits into from

Conversation

JoshVee
Copy link
Contributor

@JoshVee JoshVee commented Mar 25, 2023

Fixes #6791

This PR modifies the environment variable parsing logic to handle an empty string for string-array values.

@ammario
Copy link
Member

ammario commented Mar 28, 2023

Totally understand the problem you're facing. We had this janky behavior because we have template configs in the wild where values are set to "" to indicate that the user should set them.

#6832 should fix this correctly.

@ammario ammario closed this Mar 28, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2023
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.

Unable to disable P2P connections as it is not possible to set DERP server stun addresses to empty
2 participants