Skip to content

Comments

fix: expand env vars while parsing DB URL#428

Merged
burningalchemist merged 1 commit intomasterfrom
fix/expandvar-parseurl
Jan 8, 2024
Merged

fix: expand env vars while parsing DB URL#428
burningalchemist merged 1 commit intomasterfrom
fix/expandvar-parseurl

Conversation

@burningalchemist
Copy link
Owner

@burningalchemist burningalchemist commented Jan 8, 2024

fixes #427

os.ExpandEnv by default returns empty string if the variable is unavailable. This might create issues for users trying to debug configuration. Instead, we return the initial variable untouched as a fallback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Environment variable substitution for DSN's

1 participant