Skip to content

Commit ef1b7d2

Browse files
committed
Remove unused parameter
1 parent 41047a6 commit ef1b7d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Tests/Tests/Framework/EndpointTests/TestState/CoordinatedUsage.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Func<string, IElasticClient, TInitializer, Task<TResponse>> requestAsync
6565
var client = Client;
6666
return k => _usage.CallOnce(
6767
() => new LazyResponses(k,
68-
async () => await CallAllClientMethodsOverloads(k, initializerBody, fluentBody, fluent, fluentAsync, request, requestAsync, client))
68+
async () => await CallAllClientMethodsOverloads(initializerBody, fluentBody, fluent, fluentAsync, request, requestAsync, client))
6969
, k);
7070
}
7171

@@ -98,7 +98,6 @@ public Func<string, LazyResponses> Call<TResponse>(Func<string, IElasticClient,
9898
private string Sanitize(string value) => string.IsNullOrEmpty(Prefix) ? value : $"{Prefix}-{value}";
9999

100100
private async Task<Dictionary<ClientMethod, IResponse>> CallAllClientMethodsOverloads<TDescriptor, TInitializer, TInterface, TResponse>(
101-
string name,
102101
Func<string, TInitializer> initializerBody,
103102
Func<string, TDescriptor, TInterface> fluentBody,
104103
Func<string, IElasticClient, Func<TDescriptor, TInterface>, TResponse> fluent,

0 commit comments

Comments
 (0)