From 3fa37897a4465722321e5551ba087f27165403fb Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Tue, 16 Aug 2022 10:34:35 -0700 Subject: [PATCH] [chore]: remove unnecessary return true (#5922) Signed-off-by: Bogdan Signed-off-by: Bogdan --- pdata/internal/json/common.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pdata/internal/json/common.go b/pdata/internal/json/common.go index 0e01e552ce5b..93117adf3d94 100644 --- a/pdata/internal/json/common.go +++ b/pdata/internal/json/common.go @@ -37,7 +37,6 @@ func ReadAttribute(iter *jsoniter.Iterator) otlpcommon.KeyValue { }) default: iter.Skip() - return true } return true }) @@ -117,7 +116,6 @@ func readArray(iter *jsoniter.Iterator) *otlpcommon.ArrayValue { }) default: iter.Skip() - return true } return true }) @@ -135,7 +133,6 @@ func readKvlistValue(iter *jsoniter.Iterator) *otlpcommon.KeyValueList { }) default: iter.Skip() - return true } return true })