Skip to content

Commit

Permalink
updated grpc config to use DialContext
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Oct 30, 2024
1 parent 78036de commit 3126a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/configgrpc/configgrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3126a57

Please sign in to comment.