Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
fix marshalling of allowlisted scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Jul 3, 2022
1 parent df257ce commit 991d712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (s scopeClass) MarshalJSON() ([]byte, error) {
span = name[idx+5:]
}
// System and Transient scope
if name == "system" || name == "transient" {
if name == "system" || name == "transient" || name == "allowlistedSystem" || name == "allowlistedTransient" {
return json.Marshal(struct {
Class string
Span string `json:",omitempty"`
Expand Down

0 comments on commit 991d712

Please sign in to comment.