From 3126a577197b87165db314a493251c0fe50f780f Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 30 Oct 2024 09:52:06 -0400 Subject: [PATCH] updated grpc config to use DialContext --- config/configgrpc/configgrpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/configgrpc/configgrpc.go b/config/configgrpc/configgrpc.go index 07d6c8c7675..fbb93f61166 100644 --- a/config/configgrpc/configgrpc.go +++ b/config/configgrpc/configgrpc.go @@ -261,7 +261,7 @@ func (gcs *ClientConfig) ToClientConn( if err != nil { return nil, err } - return grpc.NewClient(gcs.sanitizedEndpoint(), grpcOpts...) + return grpc.DialContext(ctx, gcs.sanitizedEndpoint(), grpcOpts...) } func (gcs *ClientConfig) getGrpcDialOptions(