Skip to content

Commit

Permalink
fix(auth): set secure flag for gRPC conn pools (#10002)
Browse files Browse the repository at this point in the history
Updates: #9833
  • Loading branch information
codyoss committed Apr 19, 2024
1 parent 9e20ef8 commit 14e3956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/grpctransport/grpctransport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 14e3956

Please sign in to comment.