Skip to content

Commit

Permalink
SQL: Fix rest endpoint names in node stats (#31371)
Browse files Browse the repository at this point in the history
Fixes wrong name for the sql translate endpoint and makes rest endpoint
names in stats more consistent.
  • Loading branch information
imotov committed Jun 15, 2018
1 parent 884618e commit b2ed885
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ protected RestChannelConsumer prepareRequest(RestRequest request, NodeClient cli

@Override
public String getName() {
return "sql_translate_action";
return "xpack_sql_clear_cursor_action";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ public RestResponse buildResponse(SqlQueryResponse response) throws Exception {

@Override
public String getName() {
return "xpack_sql_action";
return "xpack_sql_query_action";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ protected RestChannelConsumer prepareRequest(RestRequest request, NodeClient cli

@Override
public String getName() {
return "sql_translate_action";
return "xpack_sql_translate_action";
}
}

0 comments on commit b2ed885

Please sign in to comment.