From fa9c39cd6524f15ea433a2e1cc6ea62f76a0b63a Mon Sep 17 00:00:00 2001 From: Magnus Jungsbluth Date: Thu, 25 Apr 2024 17:11:21 +0200 Subject: [PATCH] Output unexpected type in tracing warning Signed-off-by: Magnus Jungsbluth --- filters/openpolicyagent/tracing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters/openpolicyagent/tracing.go b/filters/openpolicyagent/tracing.go index 2fd53b334f..bc63c780b9 100644 --- a/filters/openpolicyagent/tracing.go +++ b/filters/openpolicyagent/tracing.go @@ -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", o) } else { opt(wrapper) }