mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
Use standard CSS separator.
This commit is contained in:
parent
dd6267aaf2
commit
2bb681466c
@ -97,7 +97,7 @@ public class Table {
|
||||
if (sAttr.length() == 0) {
|
||||
continue;
|
||||
}
|
||||
int idx = sAttr.indexOf('=');
|
||||
int idx = sAttr.indexOf(':');
|
||||
mAttr.put(sAttr.substring(0, idx), sAttr.substring(idx + 1));
|
||||
}
|
||||
}
|
||||
|
@ -93,14 +93,14 @@ public class RestShardsAction extends BaseRestHandler {
|
||||
private Table buildTable(ClusterStateResponse state, IndicesStatsResponse stats) {
|
||||
Table table = new Table();
|
||||
table.startHeaders()
|
||||
.addCell("index", "default=true;")
|
||||
.addCell("shard", "default=true;")
|
||||
.addCell("p/r", "default=true;")
|
||||
.addCell("state", "default=true;")
|
||||
.addCell("docs", "default=true;")
|
||||
.addCell("store", "default=true;")
|
||||
.addCell("ip", "default=true;")
|
||||
.addCell("node", "default=true;")
|
||||
.addCell("index", "default:true;")
|
||||
.addCell("shard", "default:true;")
|
||||
.addCell("p/r", "default:true;")
|
||||
.addCell("state", "default:true;")
|
||||
.addCell("docs", "default:true;")
|
||||
.addCell("store", "default:true;")
|
||||
.addCell("ip", "default:true;")
|
||||
.addCell("node", "default:true;")
|
||||
.endHeaders();
|
||||
|
||||
for (ShardRouting shard : state.getState().routingTable().allShards()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user