Skip to content

Commit

Permalink
updated configgrpc to use DialContext
Browse files Browse the repository at this point in the history
  • Loading branch information
akats7 committed Oct 30, 2024
1 parent 78036de commit cb94c42
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 cb94c42

Please sign in to comment.