File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ public static async ValueTask<EndpointDescription> SelectEndpointAsync(
146146 int discoverTimeout ,
147147 CancellationToken ct = default )
148148 {
149- var endpointConfiguration = EndpointConfiguration . Create ( ) ;
149+ var endpointConfiguration = EndpointConfiguration . Create ( application ) ;
150150 endpointConfiguration . OperationTimeout = discoverTimeout > 0
151151 ? discoverTimeout
152152 : DefaultDiscoverTimeout ;
@@ -201,7 +201,7 @@ public static async ValueTask<EndpointDescription> SelectEndpointAsync(
201201 CancellationToken ct = default )
202202 {
203203 Uri uri = GetDiscoveryUrl ( discoveryUrl ) ;
204- var endpointConfiguration = EndpointConfiguration . Create ( ) ;
204+ var endpointConfiguration = EndpointConfiguration . Create ( application ) ;
205205 endpointConfiguration . OperationTimeout = discoverTimeout ;
206206
207207 using var client = DiscoveryClient . Create ( application , uri , endpointConfiguration ) ;
You can’t perform that action at this time.
0 commit comments