Skip to content

Commit

Permalink
Output unexpected type in tracing warning
Browse files Browse the repository at this point in the history
Signed-off-by: Magnus Jungsbluth <[email protected]>
  • Loading branch information
mjungsbluth committed Apr 25, 2024
1 parent ed2bf1f commit 6811c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters/openpolicyagent/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (*tracingFactory) NewTransport(tr http.RoundTripper, opts opatracing.Option
for _, o := range opts {
opt, ok := o.(func(*transport))
if !ok {
log.Warn("invalid type for OPA tracing option, expected func(*transport), tracing information might be incomplete")
log.Warnf("invalid type for OPA tracing option, expected func(*transport) got %T, tracing information might be incomplete", opt)
} else {
opt(wrapper)
}
Expand Down

0 comments on commit 6811c23

Please sign in to comment.