update the documentation (#4834)

the `filter` method does not compile in this example, use `filters` instead of `filter`.
This commit is contained in:
Zane XiaoYe 2021-12-08 12:40:30 +08:00 committed by GitHub
parent 80790a409d
commit cd863f6726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class WebClientConfig {
WebClient webClient = WebClient.create();
SpringWebfluxTracing instrumentation = SpringWebfluxTracing.create(openTelemetry);
return webClient.mutate().filter(instrumentation::addClientTracingFilter);
return webClient.mutate().filters(instrumentation::addClientTracingFilter);
}
}
```