mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 02:22:52 +01:00
ui: fix dsiple managementservermetricsresponse - agentcount (#12148)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
f379d78963
commit
44119cf34f
@ -26,8 +26,8 @@ export default {
|
|||||||
permission: ['listManagementServersMetrics'],
|
permission: ['listManagementServersMetrics'],
|
||||||
resourceType: 'ManagementServer',
|
resourceType: 'ManagementServer',
|
||||||
columns: () => {
|
columns: () => {
|
||||||
const fields = ['name', 'state', 'ipaddress', 'version', 'osdistribution', 'agentcount']
|
const fields = ['name', 'state', 'ipaddress', 'version', 'osdistribution']
|
||||||
const metricsFields = ['collectiontime', 'availableprocessors', 'cpuload', 'heapmemoryused']
|
const metricsFields = ['agentcount', 'collectiontime', 'availableprocessors', 'cpuload', 'heapmemoryused']
|
||||||
if (store.getters.metrics) {
|
if (store.getters.metrics) {
|
||||||
fields.push(...metricsFields)
|
fields.push(...metricsFields)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user