forked from open-telemetry/opentelemetry-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pdata] Fix Map.EnsureCapacity bug when the Map is not empty (open-te…
…lemetry#8040) EnsureCapacity was incorrectly clearing the Map when increasing the capacity. It will now correctly preserve existing elements. --------- Co-authored-by: Alex Boten <alex@boten.ca>
- Loading branch information
1 parent
9375d95
commit 89e13a1
Showing
2 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters