Skip to content

Commit

Permalink
Remove accidentally added config.NewState()
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Dec 14, 2024
1 parent ee5bc14 commit a18573b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tracing/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func Initialize() error {
case "grpc":
opts := []otlptracegrpc.Option{
otlptracegrpc.WithEndpoint(config.GetTracingEndpoint()),
otlptracegrpc.WithHeaders(config.NewState().GetTracingHeaders()),
otlptracegrpc.WithHeaders(config.GetTracingHeaders()),
}
if insecure {
opts = append(opts, otlptracegrpc.WithInsecure())
Expand Down

0 comments on commit a18573b

Please sign in to comment.