diff --git a/contrib/google.golang.org/grpc/example_test.go b/contrib/google.golang.org/grpc/example_test.go index 022d02f755..7ff0c2c7d1 100644 --- a/contrib/google.golang.org/grpc/example_test.go +++ b/contrib/google.golang.org/grpc/example_test.go @@ -20,8 +20,8 @@ func Example_client() { ui := grpctrace.UnaryClientInterceptor(grpctrace.WithServiceName("my-grpc-client")) // Dial in using the created interceptor. - // Note: grpc.Dial does not support multiple UnaryInterceptor options directly. - // If this is needed, use grpc.WithChainUnaryInterceptor instead. + // Note: To use multiple UnaryInterceptors with grpc.Dial, you must use + // grpc.WithChainUnaryInterceptor instead. conn, err := grpc.Dial("localhost:50051", grpc.WithInsecure(), grpc.WithStreamInterceptor(si), grpc.WithUnaryInterceptor(ui)) if err != nil {