Skip to content

Commit

Permalink
Remove _type metadata as it no longer returned as bulk response
Browse files Browse the repository at this point in the history
  • Loading branch information
sidz committed Mar 24, 2024
1 parent c80b0fd commit 1290818
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Exception/Bulk/Response/ActionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ public function getErrorMessage(BulkResponse $response): string
$path .= '/'.$data['_index'];
}

if (isset($data['_type'])) {
$path .= '/'.$data['_type'];
}

if (isset($data['_id'])) {
$path .= '/'.$data['_id'];
}
Expand Down

0 comments on commit 1290818

Please sign in to comment.