Skip to content

Commit

Permalink
Sending an index name to DocumentParsingObserver that is not ever null
Browse files Browse the repository at this point in the history
  • Loading branch information
masseyke committed Oct 13, 2023
1 parent 17ef0af commit 0da821d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,8 @@ public void onFailure(Exception e) {
executePipelines(pipelines, indexRequest, ingestDocument, documentListener);
indexRequest.setPipelinesHaveRun();

documentParsingObserver.setIndexName(indexRequest.index());
assert actionRequest.index() != null;
documentParsingObserver.setIndexName(actionRequest.index());
documentParsingObserver.close();

i++;
Expand Down

0 comments on commit 0da821d

Please sign in to comment.