Skip to content

Commit

Permalink
[chore] Update pcommon.Map.Equal deprecation doc string (#6894)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax authored Jan 6, 2023
1 parent 1f3c5fb commit 39201f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdata/pcommon/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func (v Value) CopyTo(dest Value) {
}

// Equal checks for equality, it returns true if the objects are equal otherwise false.
// Deprecated: [1.0.0-rc2] Use v1.AsRaw() == v2.AsRaw() in tests.
// Deprecated: [1.0.0-rc2] Use reflect.DeepEqual(v1.AsRaw(), v2.AsRaw()) in tests.
// If you need this method where performance is critical, please share your use case in
// https://github.com/open-telemetry/opentelemetry-collector/issues/6811
func (v Value) Equal(av Value) bool {
Expand Down

0 comments on commit 39201f6

Please sign in to comment.