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:
Igor Motov 2018-06-15 19:07:47 -04:00 committed by GitHub
parent babb16d90c
commit c3084a332b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -37,6 +37,6 @@ public class RestSqlClearCursorAction extends BaseRestHandler {
@Override
public String getName() {
return "sql_translate_action";
return "xpack_sql_clear_cursor_action";
}
}

View File

@ -114,6 +114,6 @@ public class RestSqlQueryAction extends BaseRestHandler {
@Override
public String getName() {
return "xpack_sql_action";
return "xpack_sql_query_action";
}
}

View File

@ -40,7 +40,7 @@ public class RestSqlTranslateAction extends BaseRestHandler {
@Override
public String getName() {
return "sql_translate_action";
return "xpack_sql_translate_action";
}
}