Skip to content

Commit

Permalink
[chore] Fix unreleased bug that JSON integers should support string o…
Browse files Browse the repository at this point in the history
…r int (#11279)

Bug added in
#11275

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed Sep 26, 2024
1 parent 1e29f99 commit 765e60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdata/ptrace/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (dest Span) unmarshalJsoniter(iter *jsoniter.Iterator) {
iter.ReportError("readSpan.parentSpanId", fmt.Sprintf("parse parent_span_id:%v", err))
}
case "flags":
dest.orig.Flags = iter.ReadUint32()
dest.orig.Flags = json.ReadUint32(iter)
case "name":
dest.orig.Name = iter.ReadString()
case "kind":
Expand Down

0 comments on commit 765e60a

Please sign in to comment.