Merge pull request #113458 from CatherineF-dev/fix-tracing-wrapper-comment

Fix tracing wrapper comment
This commit is contained in:
Kubernetes Prow Robot 2022-10-31 06:14:44 -07:00 committed by GitHub
commit 4d2128b523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {