Skip to content

Commit 432d92d

Browse files
authored
[chore] Remove deprecation notice for (pcommon.Map).Range (#12648)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Remove the deprecation notice until the v0.122.0 release is complete. After trying to migrate from `Range` to `All` in open-telemetry/opentelemetry-collector-contrib#38676, I think the changes required for this will be sufficiently large that we should avoid doing them during a release.
1 parent f09dad4 commit 432d92d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pdata/pcommon/map.go

-2
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ func (m Map) Len() int {
218218
// sm.Range(func(k string, v Value) bool {
219219
// ...
220220
// })
221-
//
222-
// Deprecated: [v0.122.0] use the iterator returned by All instead.
223221
func (m Map) Range(f func(k string, v Value) bool) {
224222
for i := range *m.getOrig() {
225223
kv := &(*m.getOrig())[i]

0 commit comments

Comments
 (0)