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()