Skip to content

Commit

Permalink
Address code review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed May 18, 2024
1 parent edee766 commit fa6bd59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class OpensearchContainer extends GenericContainer<OpensearchContainer> {
ElasticsearchStorage.Builder newStorageBuilder() {

WebClientBuilder builder = WebClient.builder("http://" + hostPort())
.factory(ClientFactory.builder().build());
.factory(ClientFactory.ofDefault());
builder.decorator((delegate, ctx, req) -> {
final HttpResponse response = delegate.execute(ctx, req);
return HttpResponse.of(response.aggregate().thenApply(r -> {
Expand Down

0 comments on commit fa6bd59

Please sign in to comment.