From 19572b970ca64ce85d45e72f876748612589ce02 Mon Sep 17 00:00:00 2001 From: Bashar Eid Date: Wed, 5 Feb 2025 10:14:05 -0500 Subject: [PATCH] update comment --- rpc/dial_options.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rpc/dial_options.go b/rpc/dial_options.go index 96a56def..f6c4c633 100644 --- a/rpc/dial_options.go +++ b/rpc/dial_options.go @@ -65,7 +65,7 @@ type dialOptions struct { unaryInterceptor grpc.UnaryClientInterceptor streamInterceptor grpc.StreamClientInterceptor - // conn can be used to force the webrtcSignalingAnswerer to use a preexisting connection instead of dialing and managing its own. + // signalingConn can be used to force the webrtcSignalingAnswerer to use a preexisting connection instead of dialing and managing its own. signalingConn ClientConn } @@ -268,7 +268,10 @@ func WithUnaryClientInterceptor(interceptor grpc.UnaryClientInterceptor) DialOpt func WithStreamClientInterceptor(interceptor grpc.StreamClientInterceptor) DialOption { return newFuncDialOption(func(o *dialOptions) { if o.streamInterceptor != nil { - o.streamInterceptor = grpc_middleware.ChainStreamClient(o.streamInterceptor, interceptor) + o.streamInterceptor = grpc_middleware.ChainStreamClient( + o.streamInterceptor, + interceptor, + ) } else { o.streamInterceptor = interceptor }