mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #113458 from CatherineF-dev/fix-tracing-wrapper-comment
Fix tracing wrapper comment
This commit is contained in:
commit
4d2128b523
@ -86,7 +86,7 @@ func WithTracing(handler http.Handler, tp oteltrace.TracerProvider, serviceName
|
||||
// Example usage:
|
||||
// tp := NewProvider(...)
|
||||
// config, _ := rest.InClusterConfig()
|
||||
// config.Wrap(WrapperFor(&tp))
|
||||
// config.Wrap(WrapperFor(tp))
|
||||
// kubeclient, _ := clientset.NewForConfig(config)
|
||||
func WrapperFor(tp oteltrace.TracerProvider) transport.WrapperFunc {
|
||||
return func(rt http.RoundTripper) http.RoundTripper {
|
||||
|
Loading…
Reference in New Issue
Block a user