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

Make internal/version internal to internal/otelcontribcore #9770

Merged
merged 1 commit into from May 6, 2022

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented May 6, 2022

Description:

Moves internal/version to internal/otelcontribcore/internal/version.
This package must not be imported by any component, since the correct way to get the version of the Collector in which you are running is to use the BuildInfo information.

Link to tracking Issue: n/a found while reviewing #9693

@mx-psi mx-psi requested a review from a team as a code owner May 6, 2022 08:22
@mx-psi mx-psi requested a review from Aneurysm9 May 6, 2022 08:22
@mx-psi mx-psi added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 6, 2022
@mx-psi
Copy link
Member Author

mx-psi commented May 6, 2022

Alternatively, we could get rid of internal/version and just move the variable to otelcontribcore

@djaglowski djaglowski merged commit 75bd1e9 into open-telemetry:main May 6, 2022
@mx-psi mx-psi deleted the mx-psi/internal-version branch May 6, 2022 14:22
djaglowski pushed a commit to djaglowski/opentelemetry-collector-contrib that referenced this pull request May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants