Skip to content

Commit 14e3956

Browse files
authored
fix(auth): set secure flag for gRPC conn pools (#10002)
Updates: #9833
1 parent 9e20ef8 commit 14e3956

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

auth/grpctransport/grpctransport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func Dial(ctx context.Context, secure bool, opts *Options) (GRPCClientConnPool,
175175
}
176176
pool := &roundRobinConnPool{}
177177
for i := 0; i < opts.PoolSize; i++ {
178-
conn, err := dial(ctx, false, opts)
178+
conn, err := dial(ctx, secure, opts)
179179
if err != nil {
180180
// ignore close error, if any
181181
defer pool.Close()

0 commit comments

Comments
 (0)