Skip to content

Conversation

ridwanmsharif
Copy link
Member

@ridwanmsharif ridwanmsharif commented May 20, 2025

Fixes #40186

There was a bug before where the copy was updated and not the reference.

Copy link
Contributor

@braydonk braydonk left a comment

Choose a reason for hiding this comment

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

This is probably testable in factory_test.go should we add something? In essence "if feature gate is enabled then this value in the config should be the custom one"

There was a bug before where the copy was updated and not the reference.

Signed-off-by: Ridwan Sharif <[email protected]>
@ridwanmsharif ridwanmsharif force-pushed the ridwanmsharif/custom-mr-fix branch from 98a83bf to 00b6c84 Compare May 20, 2025 20:22
@ridwanmsharif ridwanmsharif requested a review from braydonk May 20, 2025 20:22
@ridwanmsharif
Copy link
Member Author

This is probably testable in factory_test.go should we add something? In essence "if feature gate is enabled then this value in the config should be the custom one"

I added a reflection based test. Let me know if there is a better way I don't know about

@ridwanmsharif ridwanmsharif marked this pull request as ready for review May 20, 2025 20:24
@ridwanmsharif ridwanmsharif requested a review from a team as a code owner May 20, 2025 20:24
@braydonk braydonk added the ready to merge Code review completed; ready to merge by maintainers label May 21, 2025
@braydonk braydonk assigned braydonk and unassigned ChrsMark May 21, 2025
@songy23 songy23 merged commit 2023a5b into open-telemetry:main May 21, 2025
175 checks passed
@github-actions github-actions bot added this to the next release milestone May 21, 2025
@ridwanmsharif ridwanmsharif deleted the ridwanmsharif/custom-mr-fix branch May 21, 2025 16:55
dragonlord93 pushed a commit to dragonlord93/opentelemetry-collector-contrib that referenced this pull request May 23, 2025
…telemetry#40184)

Fixes
open-telemetry#40186

There was a bug before where the copy was updated and not the reference.

Signed-off-by: Ridwan Sharif <[email protected]>
Co-authored-by: Braydon Kains <[email protected]>
dd-jasminesun pushed a commit to DataDog/opentelemetry-collector-contrib that referenced this pull request Jun 23, 2025
…telemetry#40184)

Fixes
open-telemetry#40186

There was a bug before where the copy was updated and not the reference.

Signed-off-by: Ridwan Sharif <[email protected]>
Co-authored-by: Braydon Kains <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exporter/googlecloud ready to merge Code review completed; ready to merge by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

exporter/googlecloud: update the reference instead of the copy

5 participants