Skip to content

Commit

Permalink
Fix: update help output for _cat (opensearch-project#14722)
Browse files Browse the repository at this point in the history
* fixed help output for _cat

Signed-off-by: ahmedsobeh <ahmed.sobeh@aiven.io>

* updated changelog

Signed-off-by: ahmedsobeh <ahmed.sobeh@aiven.io>

* updated changelog

Signed-off-by: ahmedsobeh <ahmed.sobeh@aiven.io>

---------

Signed-off-by: ahmedsobeh <ahmed.sobeh@aiven.io>
  • Loading branch information
ahmedsobeh authored and harshavamsi committed Jul 12, 2024
1 parent e73e277 commit 24f666f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Handle NPE in GetResult if "found" field is missing ([#14552](https://github.com/opensearch-project/OpenSearch/pull/14552))
- Refactoring FilterPath.parse by using an iterative approach ([#14200](https://github.com/opensearch-project/OpenSearch/pull/14200))
- Refactoring Grok.validatePatternBank by using an iterative approach ([#14206](https://github.com/opensearch-project/OpenSearch/pull/14206))
- Update help output for _cat ([#14722](https://github.com/opensearch-project/OpenSearch/pull/14722))

### Security

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ protected Table getTableWithHeader(final RestRequest request) {
table.addCell("port", "default:false;alias:po;desc:bound transport port");
table.addCell("http_address", "default:false;alias:http;desc:bound http address");

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

0 comments on commit 24f666f

Please sign in to comment.