Skip to content

Commit 0d48870

Browse files
ahmedsobehreta
authored andcommitted
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]> (cherry picked from commit 17b7996)
1 parent 3f11029 commit 0d48870

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1313
### Deprecated
1414
### Removed
1515
### Fixed
16+
- Update help output for _cat ([#14722](https://github.com/opensearch-project/OpenSearch/pull/14722))
17+
1618
### Security
1719

1820
[Unreleased]: https://github.com/opensearch-project/OpenSearch/compare/1.3.15...HEAD

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

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

166-
table.addCell("version", "default:false;alias:v;desc:es version");
167-
table.addCell("type", "default:false;alias:t;desc:es distribution type");
168-
table.addCell("build", "default:false;alias:b;desc:es build hash");
166+
table.addCell("version", "default:false;alias:v;desc:os version");
167+
table.addCell("type", "default:false;alias:t;desc:os distribution type");
168+
table.addCell("build", "default:false;alias:b;desc:os build hash");
169169
table.addCell("jdk", "default:false;alias:j;desc:jdk version");
170170
table.addCell("disk.total", "default:false;alias:dt,diskTotal;text-align:right;desc:total disk space");
171171
table.addCell("disk.used", "default:false;alias:du,diskUsed;text-align:right;desc:used disk space");

0 commit comments

Comments
 (0)