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

[chore] Remove unused internal code #33690

Merged

Conversation

crobert-1
Copy link
Member

Description:

This file appears to be no longer used. Since it's in an internal directory it's not exposed publicly, so I don't believe it needs a changelog.

For context, I believe its original use was to be consumed by cmd/configschema, which has since been deleted. I believe we simply missed this file in the removal process.

@crobert-1
Copy link
Member Author

Interesting, it looks like this file is what actually includes each component as a required import in the top-level go.mod file, even though the main method Components() is unused. I'll have to look into this more, or try to get more input from others who are more familiar.

@crobert-1
Copy link
Member Author

Relevant PRs and issues:
File was first introduced: #33
Issue filed as a result of original PR: #34
File was moved to current location: #4604 (Some discussion here about use case)

I'm wondering if this functionality as a whole is now duplicated by https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/cmd/otelcontribcol.

@codeboten codeboten merged commit cfd83af into open-telemetry:main Jun 21, 2024
154 checks passed
@github-actions github-actions bot added this to the next release milestone Jun 21, 2024
martin-majlis-s1 pushed a commit to scalyr/opentelemetry-collector-contrib that referenced this pull request Jun 24, 2024
This file appears to be no longer used. Since it's in an `internal`
directory it's not exposed publicly, so I don't believe it needs a
changelog.

For context, I believe its original use was to be consumed by
`cmd/configschema`, which has since been
[deleted](open-telemetry#33384).
I believe we simply missed this file in the removal process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants