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

Replace usage of Map.Insert* and Map.Update* with Map.Upsert #1957

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

dmitryax
Copy link
Contributor

@dmitryax dmitryax commented Sep 8, 2022

In the preparation for removing Map.Update*/Insert* open-telemetry/opentelemetry-collector#5998.

All the usages of Insert are intended to be applied on maps with absent keys, so it's safe to replace them with Upsert.

@dmitryax dmitryax requested review from a team as code owners September 8, 2022 23:19
@dmitryax dmitryax merged commit 82b68cb into signalfx:main Sep 9, 2022
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.

4 participants