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 e5f3a29 commit f03fa06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tracing/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ func keyValueSliceToMap(kv []string, fn func(string) string) map[string]string {
continue
}

k := parts[0]
v := fn(parts[1])

if len(v) == 0 {
continue
}

m[parts[0]] = v
m[k] = v
}

return m
Expand Down

0 comments on commit f03fa06

Please sign in to comment.