Skip to content

Commit 17b7996

Browse files
authored
Fix: update help output for _cat (opensearch-project#14722)
* fixed help output for _cat Signed-off-by: ahmedsobeh <[email protected]> * updated changelog Signed-off-by: ahmedsobeh <[email protected]> * updated changelog Signed-off-by: ahmedsobeh <[email protected]> --------- Signed-off-by: ahmedsobeh <[email protected]>
1 parent 2d8c68c commit 17b7996

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6565
- Handle NPE in GetResult if "found" field is missing ([#14552](https://github.com/opensearch-project/OpenSearch/pull/14552))
6666
- Refactoring FilterPath.parse by using an iterative approach ([#14200](https://github.com/opensearch-project/OpenSearch/pull/14200))
6767
- Refactoring Grok.validatePatternBank by using an iterative approach ([#14206](https://github.com/opensearch-project/OpenSearch/pull/14206))
68+
- Update help output for _cat ([#14722](https://github.com/opensearch-project/OpenSearch/pull/14722))
6869

6970
### Security
7071

server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ protected Table getTableWithHeader(final RestRequest request) {
171171
table.addCell("port", "default:false;alias:po;desc:bound transport port");
172172
table.addCell("http_address", "default:false;alias:http;desc:bound http address");
173173

174-
table.addCell("version", "default:false;alias:v;desc:es version");
175-
table.addCell("type", "default:false;alias:t;desc:es distribution type");
176-
table.addCell("build", "default:false;alias:b;desc:es build hash");
174+
table.addCell("version", "default:false;alias:v;desc:os version");
175+
table.addCell("type", "default:false;alias:t;desc:os distribution type");
176+
table.addCell("build", "default:false;alias:b;desc:os build hash");
177177
table.addCell("jdk", "default:false;alias:j;desc:jdk version");
178178
table.addCell("disk.total", "default:false;alias:dt,diskTotal;text-align:right;desc:total disk space");
179179
table.addCell("disk.used", "default:false;alias:du,diskUsed;text-align:right;desc:used disk space");

0 commit comments

Comments
 (0)