SQL: Fix rest endpoint names in node stats (#31371)
Fixes wrong name for the sql translate endpoint and makes rest endpoint names in stats more consistent.
This commit is contained in:
parent
babb16d90c
commit
c3084a332b
|
@ -37,6 +37,6 @@ public class RestSqlClearCursorAction extends BaseRestHandler {
|
|||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "sql_translate_action";
|
||||
return "xpack_sql_clear_cursor_action";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,6 +114,6 @@ public class RestSqlQueryAction extends BaseRestHandler {
|
|||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "xpack_sql_action";
|
||||
return "xpack_sql_query_action";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ public class RestSqlTranslateAction extends BaseRestHandler {
|
|||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "sql_translate_action";
|
||||
return "xpack_sql_translate_action";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue