Skip to content

Commit

Permalink
opensearchapi: add missing NodeFailures struct to document-delete_by_…
Browse files Browse the repository at this point in the history
…query_rethrottle

Signed-off-by: Jakob Hahn <[email protected]>
  • Loading branch information
Jakob3xD committed Apr 3, 2024
1 parent 80c4309 commit e6eba5a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions opensearchapi/api_document-delete_by_query_rethrottle.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ type DocumentDeleteByQueryRethrottleResp struct {
} `json:"resource_stats"`
} `json:"tasks"`
} `json:"nodes"`
NodeFailures []struct {
Type string `json:"type"`
Reason string `json:"reason"`
NodeID string `json:"node_id"`
CausedBy struct {
Type string `json:"type"`
Reason string `json:"reason"`
} `json:"caused_by"`
} `json:"node_failures"`
response *opensearch.Response
}

Expand Down

0 comments on commit e6eba5a

Please sign in to comment.