Skip to content

Commit

Permalink
Remove unnecessary type
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-vovk committed Aug 12, 2024
1 parent 7f619c2 commit b1eb296
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object SearchIterator {
/**
* Creates a new Iterator for instances of SearchHit by wrapping the given HTTP client.
*/
def hits[F[_]](client: ElasticClient[Future], searchreq: SearchRequest)(implicit timeout: Duration): Iterator[SearchHit] =
def hits(client: ElasticClient[Future], searchreq: SearchRequest)(implicit timeout: Duration): Iterator[SearchHit] =
new Iterator[SearchHit] {
require(searchreq.keepAlive.isDefined, "Search request must define keep alive value")

Expand Down

0 comments on commit b1eb296

Please sign in to comment.