From aff76faf556fef934b072480dc856b10cc0f6dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Provecho=20Fern=C3=A1ndez=20=28Okteto=29?= <92427625+jpf-okteto@users.noreply.github.com> Date: Fri, 10 Nov 2023 20:47:14 +0100 Subject: [PATCH] fix: update new ClientOpt from 5509e40 with origin --- client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/client.go b/client/client.go index af4ed8c80bb9..ab9fee24cc15 100644 --- a/client/client.go +++ b/client/client.go @@ -75,6 +75,7 @@ func New(ctx context.Context, address string, opts ...ClientOpt) (*Client, error } gopts = append(gopts, opt) needWithInsecure = false + tlsServerName = credInfo.ServerName } if wt, ok := o.(*withTracer); ok { customTracer = true