mirror of https://github.com/apache/druid.git
add middle manager and indexer worker category to tier column of services view (#9158)
This commit is contained in:
parent
e27a1e8604
commit
f245292e5d
|
@ -138,7 +138,8 @@ exports[`services view action services view 1`] = `
|
|||
Object {
|
||||
"Cell": [Function],
|
||||
"Header": "Tier",
|
||||
"accessor": "tier",
|
||||
"accessor": [Function],
|
||||
"id": "tier",
|
||||
"show": true,
|
||||
},
|
||||
Object {
|
||||
|
|
|
@ -348,7 +348,10 @@ ORDER BY "rank" DESC, "service" DESC`;
|
|||
},
|
||||
{
|
||||
Header: 'Tier',
|
||||
accessor: 'tier',
|
||||
id: 'tier',
|
||||
accessor: row => {
|
||||
return row.tier ? row.tier : row.worker ? row.worker.category : null;
|
||||
},
|
||||
Cell: row => {
|
||||
const value = row.value;
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue