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

Commit

Permalink
Merge pull request #62 from libp2p/fix-allowlist-marshalling
Browse files Browse the repository at this point in the history
fix marshalling of allowlisted scopes
  • Loading branch information
MarcoPolo committed Jul 3, 2022
2 parents df257ce + 991d712 commit b2c739f
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 b2c739f

Please sign in to comment.