Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Sep 11, 2024
1 parent f03fa06 commit 18ea2c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tracing/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ func FromCLIContext(c *cli.Context) (*Client, error) {
}

// identity func used to map a string back to itself
identityFn := func(s string) string {
return s
}
identityFn := func(s string) string { return s }

// span attributes
cfg.SpanAttributes = keyValueSliceToMap(c.StringSlice("tracing.span.attributes"), identityFn)
Expand Down

0 comments on commit 18ea2c4

Please sign in to comment.