From ef927ceaf018dc0daf01decffc847a87b6bd035d Mon Sep 17 00:00:00 2001 From: eshitachandwani Date: Fri, 27 Dec 2024 15:14:33 +0530 Subject: [PATCH] test --- clientconn.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clientconn.go b/clientconn.go index ba574e4b5eb0..07e97fed5710 100644 --- a/clientconn.go +++ b/clientconn.go @@ -226,10 +226,10 @@ func DialContext(ctx context.Context, target string, opts ...DialOption) (conn * // At the end of this method, we kick the channel out of idle, rather than // waiting for the first rpc. // - // WithTargetResolutionEnabled in `grpc.Dial` ensures that it preserves - // behavior: when default scheme passthrough is used, skip hostname - // resolution, when "dns" is used for resolution, - // perform resolution on the client. + // WithTargetResolutionEnabled dial option in `grpc.Dial` ensures that it + // preserves behavior: when default scheme passthrough is used, skip + // hostname resolution, when "dns" is used for resolution, perform + // resolution on the client. opts = append([]DialOption{withDefaultScheme("passthrough"), WithTargetResolutionEnabled()}, opts...) cc, err := NewClient(target, opts...) if err != nil {