Skip to content

Commit

Permalink
update argument name to transport configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Aug 30, 2023
1 parent 112c8da commit 9693219
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Elastic.Transport/Configuration/TransportConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ public TransportConfiguration(string cloudId, Base64ApiKey credentials, ProductR

/// <summary> <inheritdoc cref="TransportConfiguration" path="/summary"/></summary>
/// <param name="nodePool"><inheritdoc cref="NodePool" path="/summary"/></param>
/// <param name="connection"><inheritdoc cref="IRequestInvoker" path="/summary"/></param>
/// <param name="invoker"><inheritdoc cref="IRequestInvoker" path="/summary"/></param>
/// <param name="serializer"><inheritdoc cref="Serializer" path="/summary"/></param>
/// <param name="productRegistration"><inheritdoc cref="ProductRegistration" path="/summary"/></param>
public TransportConfiguration(
NodePool nodePool,
IRequestInvoker connection = null,
IRequestInvoker invoker = null,
Serializer serializer = null,
ProductRegistration productRegistration = null)
: base(nodePool, connection, serializer, productRegistration) { }
: base(nodePool, invoker, serializer, productRegistration) { }

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static TransportConfiguration Create()
{
var invoker = new InMemoryRequestInvoker();
var pool = new SingleNodePool(new Uri("http://localhost:9200"));
var settings = new TransportConfiguration(pool, transport);
var settings = new TransportConfiguration(pool, invoker);
return settings;
}
}
Expand Down

0 comments on commit 9693219

Please sign in to comment.