Fix bug in cat thread pool
This commit fixes a bug in cat thread pool. This bug resulted from a refactoring of the handling of thread pool types. To get the previously displayed thread pool type from the ThreadPoolType object, ThreadPoolType#getType needs to be called.
This commit is contained in:
parent
d76ae6718e
commit
43323c3541
|
@ -288,7 +288,7 @@ public class RestThreadPoolAction extends AbstractCatAction {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
table.addCell(poolInfo == null ? null : poolInfo.getThreadPoolType());
|
table.addCell(poolInfo == null ? null : poolInfo.getThreadPoolType().getType());
|
||||||
table.addCell(poolStats == null ? null : poolStats.getActive());
|
table.addCell(poolStats == null ? null : poolStats.getActive());
|
||||||
table.addCell(poolStats == null ? null : poolStats.getThreads());
|
table.addCell(poolStats == null ? null : poolStats.getThreads());
|
||||||
table.addCell(poolStats == null ? null : poolStats.getQueue());
|
table.addCell(poolStats == null ? null : poolStats.getQueue());
|
||||||
|
|
Loading…
Reference in New Issue