Skip to content

Commit

Permalink
Updated deprecated message on api.indices.exists_template.go and adde…
Browse files Browse the repository at this point in the history
…d back in IndicesExistsTemplate that was delete by mistake

Signed-off-by: Tanner Jones <[email protected]>
  • Loading branch information
tannerjones4075 committed Oct 16, 2023
1 parent 42695a9 commit 6e7f10a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opensearchapi/api.indices.exists_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ func newIndicesExistsTemplateFunc(t Transport) IndicesExistsTemplate {
// ----- API Definition -------------------------------------------------------

// IndicesExistsTemplate returns information about whether a particular index template exists.
//
// Deprecated: uses legacy API (/_template), correct API is /_index_template, use IndicesExistsIndexTemplate instead
type IndicesExistsTemplate func(name []string, o ...func(*IndicesExistsTemplateRequest)) (*Response, error)

// Deprecated: uses legacy API (/_template), correct API is /_index_template, use IndicesExistsIndexTemplateRequest instead
// IndicesExistsTemplateRequest configures the Indices Exists Template API request.
type IndicesExistsTemplateRequest struct {
Expand Down

0 comments on commit 6e7f10a

Please sign in to comment.