Skip to content

Commit

Permalink
fix header matcher
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <[email protected]>
  • Loading branch information
srijan-27 and MrAlias authored Jun 24, 2024
1 parent 885f332 commit b85e490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/zipkin/zipkin.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (e *Exporter) ExportSpans(ctx context.Context, spans []sdktrace.ReadOnlySpa
req.Header.Set("Content-Type", "application/json")

for k, v := range e.headers {
if k == "host" {
if strings.ToLower(k) == "host" {
req.Host = v
} else {
req.Header.Set(k, v)
Expand Down

0 comments on commit b85e490

Please sign in to comment.