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

New package env to reduce global vars #65

Merged

Conversation

rockdaboot
Copy link
Contributor

Due to historical reasons, the code currently has a number of global variables, hidden behind types like config.Config.

This PR is a first step to avoid global variables by introducing the env package.

@rockdaboot rockdaboot added the enhancement New feature or request label Jul 5, 2024
@rockdaboot rockdaboot self-assigned this Jul 5, 2024
@rockdaboot rockdaboot force-pushed the config-split-environment branch from d664a9e to 6c1cbab Compare July 5, 2024 15:00
@rockdaboot rockdaboot added cleanup and removed enhancement New feature or request labels Jul 8, 2024
Copy link
Member

@athre0z athre0z left a comment

Choose a reason for hiding this comment

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

👍

@rockdaboot rockdaboot merged commit 8aae1d5 into open-telemetry:main Jul 9, 2024
12 checks passed
rockdaboot added a commit that referenced this pull request Jul 10, 2024
rockdaboot added a commit that referenced this pull request Aug 7, 2024
@rockdaboot rockdaboot deleted the config-split-environment branch August 7, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants