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 usages of Map.Insert* with Map.Upsert* #13742

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

dmitryax
Copy link
Member

This is another set of replaces Map.Insert* -> Map.Upsert* where there is no data expected under the key.

This is done to evaluate open-telemetry/opentelemetry-collector#5998. We want to see how many places we have that really require using Insert methods.

This covers only part of the usages. More changes will be added in next PRs

@dmitryax dmitryax added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Aug 30, 2022
@dmitryax dmitryax force-pushed the replace-insert-3 branch 2 times, most recently from 661f60d to 116bc07 Compare August 31, 2022 00:10
This is another set of replaces Map.Insert* -> Map.Upsert* where there is no data expected under the key.

This covers only part of the usages. More changes will be added in next PRs
@bogdandrutu bogdandrutu merged commit 9848211 into open-telemetry:main Aug 31, 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