Skip to content

Commit

Permalink
[Type removal] Remove redundant _type in pipeline simulate action (#3371
Browse files Browse the repository at this point in the history
) (#3374)

Signed-off-by: Suraj Singh <[email protected]>
(cherry picked from commit 892e984)

Co-authored-by: Suraj Singh <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and dreamer-89 authored May 18, 2022
1 parent 50d9a5e commit c4fbe7c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public void testSimulatePipeline() throws IOException {
+ " \"docs\": ["
+ " {"
+ " \"_index\": \"index\","
+ " \"_type\": \"_doc\","
+ " \"_id\": \"id\","
+ " \"_source\": {"
+ " \"foo\": \"rab\""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ teardown:
"docs": [
{
"_index": "index",
"_type": "type",
"_id": "id",
"_source": {
"field": "abc2xyz"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ public void testSimulate() throws Exception {
.startArray("docs")
.startObject()
.field("_index", "index")
.field("_type", "type")
.field("_id", "id")
.startObject("_source")
.field("foo", "bar")
Expand Down

0 comments on commit c4fbe7c

Please sign in to comment.