Skip to content

Commit

Permalink
Fixed unnecessary change
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Kondaka <[email protected]>
  • Loading branch information
Krishna Kondaka committed Nov 2, 2023
1 parent 5a9ab5c commit 057b9d1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ private void doInitializeInternal() throws IOException {
.setParameter("filter_path", "errors,took,items.*.error,items.*.status,items.*._index,items.*._id")
.build());
bulkApiWrapper = BulkApiWrapperFactory.getWrapper(openSearchSinkConfig.getIndexConfiguration(), filteringOpenSearchClient);
bulkRetryStrategy = new BulkRetryStrategy(this,
bulkRequest -> bulkApiWrapper.bulk(bulkRequest.getRequest()),
bulkRetryStrategy = new BulkRetryStrategy(bulkRequest -> bulkApiWrapper.bulk(bulkRequest.getRequest()),
this::logFailureForBulkRequests,
pluginMetrics,
maxRetries,
Expand Down

0 comments on commit 057b9d1

Please sign in to comment.