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

Rename GCPResource -> GCPResourceDetector #271

Closed
wants to merge 1 commit into from

Conversation

psx95
Copy link
Contributor

@psx95 psx95 commented Nov 19, 2023

This PR contains only refactoring required to accommodate the name change.

This is a breaking change for code depending on detector-resources.

This change was tested manually as well via the use of auto-exporter.

@psx95 psx95 marked this pull request as ready for review November 20, 2023 02:26
@psx95 psx95 requested a review from a team as a code owner November 20, 2023 02:26
@psx95 psx95 assigned punya and psx95 and unassigned punya Nov 20, 2023
@psx95 psx95 requested review from dashpole and punya November 20, 2023 02:27
@dashpole
Copy link
Contributor

This seems reasonable. What is the motivation for the change?

@psx95 psx95 changed the title Rename GCPResource -> GCPResourceDetctor Rename GCPResource -> GCPResourceDetector Nov 20, 2023
@psx95
Copy link
Contributor Author

psx95 commented Nov 20, 2023

This seems reasonable. What is the motivation for the change?

While working on #267, I noticed this name was confusing when manually using resource detectors (most of our samples were using it via auto-configuration so it went un-noticed before).

@dashpole
Copy link
Contributor

Given #266 might move this anyways, lets stick with the current naming for now to avoid breaking users unnecessarily.

@psx95
Copy link
Contributor Author

psx95 commented Nov 20, 2023

Given #266 might move this anyways, lets stick with the current naming for now to avoid breaking users unnecessarily.

Sounds good, but do we have a timeline on #266 ?

@dashpole
Copy link
Contributor

we can talk about it at triage today

@dashpole dashpole closed this Nov 27, 2023
@psx95
Copy link
Contributor Author

psx95 commented Nov 27, 2023

This could be done as part of #266, we can avoid this breaking change in the next release.

@psx95 psx95 deleted the rename-class branch April 29, 2024 20:32
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.

3 participants