From 39201f64e25b3be59b16e3f9debb4ef4dc2f81ca Mon Sep 17 00:00:00 2001 From: Dmitrii Anoshin Date: Fri, 6 Jan 2023 17:30:19 +0000 Subject: [PATCH] [chore] Update pcommon.Map.Equal deprecation doc string (#6894) --- pdata/pcommon/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdata/pcommon/common.go b/pdata/pcommon/common.go index ed32d03acc8..297a3ff6858 100644 --- a/pdata/pcommon/common.go +++ b/pdata/pcommon/common.go @@ -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 {