Skip to content

Commit ea75dbe

Browse files
mushao999广富dakroneelasticmachine
authored
Fix cat_component_templates documentation (#120487)
* fix_cat_component_templates_documentation * add changelog * Update changelog to use correct area --------- Co-authored-by: 广富 <[email protected]> Co-authored-by: Lee Hinman <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
1 parent ca82e43 commit ea75dbe

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/changelog/120487.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 120487
2+
summary: Fix cat_component_templates documentation
3+
area: CAT APIs
4+
type: bug
5+
issues: []

server/src/main/java/org/elasticsearch/rest/action/cat/RestCatComponentTemplateAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public List<Route> routes() {
5454

5555
@Override
5656
protected void documentation(StringBuilder sb) {
57-
sb.append("/_cat/component_templates");
57+
sb.append("/_cat/component_templates\n");
5858
}
5959

6060
@Override

0 commit comments

Comments
 (0)