Skip to content

Commit

Permalink
Modify the warning message
Browse files Browse the repository at this point in the history
Signed-off-by: Gao Binlong <[email protected]>
  • Loading branch information
gaobinlong committed Dec 2, 2024
1 parent 35e4a09 commit 859ed01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ teardown:

- do:
allowed_warnings:
- "the index [test_2] has a default ingest pipeline or a final ingest pipeline, but performing update operation with ingest pipeline causes unexpected result, this support will be removed in 3.0.0"
- "the index [test_2] has a default ingest pipeline or a final ingest pipeline, the support of the ingest pipelines for update operation causes unexpected result and will be removed in 3.0.0"
update:
index: test_2
id: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ protected void shardOperation(final UpdateRequest request, final ActionListener<
"update_operation_with_ingest_pipeline",
"the index ["
+ indexRequest.index()

Check warning on line 287 in server/src/main/java/org/opensearch/action/update/TransportUpdateAction.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/action/update/TransportUpdateAction.java#L287

Added line #L287 was not covered by tests
+ "] has a default ingest pipeline or a final ingest pipeline, but performing update operation with ingest pipeline causes unexpected result, this support will be removed in 3.0.0"
+ "] has a default ingest pipeline or a final ingest pipeline, the support of the ingest pipelines for update operation causes unexpected result and will be removed in 3.0.0"
);
}
client.bulk(toSingleItemBulkRequest(indexRequest), wrapBulkResponse(ActionListener.<IndexResponse>wrap(response -> {
Expand Down

0 comments on commit 859ed01

Please sign in to comment.