From 14e3956dfd736399731b5ee8d9b178ae085cf7ba Mon Sep 17 00:00:00 2001 From: Cody Oss <6331106+codyoss@users.noreply.github.com> Date: Fri, 19 Apr 2024 13:26:18 -0500 Subject: [PATCH] fix(auth): set secure flag for gRPC conn pools (#10002) Updates: #9833 --- auth/grpctransport/grpctransport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/grpctransport/grpctransport.go b/auth/grpctransport/grpctransport.go index 1299536e60c2..fc32a5f2bb21 100644 --- a/auth/grpctransport/grpctransport.go +++ b/auth/grpctransport/grpctransport.go @@ -175,7 +175,7 @@ func Dial(ctx context.Context, secure bool, opts *Options) (GRPCClientConnPool, } pool := &roundRobinConnPool{} for i := 0; i < opts.PoolSize; i++ { - conn, err := dial(ctx, false, opts) + conn, err := dial(ctx, secure, opts) if err != nil { // ignore close error, if any defer pool.Close()