File tree 1 file changed +2
-2
lines changed
src/Grpc.Net.ClientFactory
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ private static IHttpClientBuilder AddGrpcHttpClient<
310
310
builder . Services . AddTransient < TClient > ( s =>
311
311
{
312
312
var clientFactory = s . GetRequiredService < GrpcClientFactory > ( ) ;
313
- return clientFactory . CreateClient < TClient > ( builder . Name ) ;
313
+ return clientFactory . CreateClient < TClient > ( name ) ;
314
314
} ) ;
315
315
316
316
// Insert primary handler before other configuration so there is the opportunity to override it.
@@ -343,7 +343,7 @@ private static IHttpClientBuilder AddGrpcHttpClient<
343
343
services . Insert ( 0 , configurePrimaryHandler ) ;
344
344
345
345
// Some platforms don't have a built-in handler that supports gRPC.
346
- // Validate that a handler was set after all configuration has run.
346
+ // Validate that a handler was set by the app to after all configuration has run.
347
347
services . PostConfigure < HttpClientFactoryOptions > ( name , options =>
348
348
{
349
349
options . HttpMessageHandlerBuilderActions . Add ( builder =>
You can’t perform that action at this time.
0 commit comments