Skip to content

Commit 482ebc7

Browse files
retaahmedsobeh
andauthored
Fix: update help output for _cat (opensearch-project#14722) (opensearch-project#14728)
* fixed help output for _cat * updated changelog * updated changelog --------- (cherry picked from commit 17b7996) Signed-off-by: ahmedsobeh <ahmed.sobeh@aiven.io> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Co-authored-by: Ahmed Sobeh <ahmed.sobeh@aiven.io>
1 parent 15440d6 commit 482ebc7

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
@@ -10,6 +10,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1010
### Deprecated
1111
### Removed
1212
### Fixed
13+
- Update help output for _cat ([#14722](https://github.com/opensearch-project/OpenSearch/pull/14722))
1314

1415
### Security
1516

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)