mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 04:45:37 +00:00
Rename dangling index APIs (#58266)
The dangling_indices.import API name could cause issues in the client libs because import is a reserved word in many languages. Rename the API to avoid this, and rename the other APIs for consistency. Related to #48366.
This commit is contained in:
parent
caa5d3abe0
commit
e065d6cc91
@ -813,9 +813,9 @@ public class RestHighLevelClientTests extends ESTestCase {
|
||||
"cluster.stats",
|
||||
"cluster.post_voting_config_exclusions",
|
||||
"cluster.delete_voting_config_exclusions",
|
||||
"dangling_indices.delete",
|
||||
"dangling_indices.import",
|
||||
"dangling_indices.list",
|
||||
"dangling_indices.delete_dangling_index",
|
||||
"dangling_indices.import_dangling_index",
|
||||
"dangling_indices.list_dangling_indices",
|
||||
"indices.shard_stores",
|
||||
"indices.upgrade",
|
||||
"indices.recovery",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"dangling_indices.delete": {
|
||||
"dangling_indices.delete_dangling_index": {
|
||||
"documentation": {
|
||||
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html",
|
||||
"description": "Deletes the specified dangling index"
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"dangling_indices.import": {
|
||||
"dangling_indices.import_dangling_index": {
|
||||
"documentation": {
|
||||
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html",
|
||||
"description": "Imports the specified dangling index"
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"dangling_indices.list": {
|
||||
"dangling_indices.list_dangling_indices": {
|
||||
"documentation": {
|
||||
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html",
|
||||
"description": "Returns all dangling indices."
|
Loading…
x
Reference in New Issue
Block a user