Skip to content

Commit 7c3b1a5

Browse files
committed
Fix bwc again
1 parent b456107 commit 7c3b1a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/rest/action/cat/RestThreadPoolAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ private Table buildTable(RestRequest req, ClusterStateResponse state, NodesInfoR
227227

228228
table.addCell(entry.getKey());
229229
table.addCell(
230-
poolInfo == null ? null : ThreadPool.ThreadPoolType.bwcType(poolInfo.getName(), poolInfo.getThreadPoolType())
230+
poolInfo == null ? null : ThreadPool.ThreadPoolType.bwcType(poolInfo.getName(), poolInfo.getThreadPoolType()).getType()
231231
);
232232
table.addCell(poolStats == null ? null : poolStats.active());
233233
table.addCell(poolStats == null ? null : poolStats.threads());

0 commit comments

Comments
 (0)