use harvester translation key forhost page CPU and memory (#220) (#221)

Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit 38cf667830626ab6ce58af7a473f2b2a64f894b5)

Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
mergify[bot] 2025-03-27 15:05:41 +08:00 committed by GitHub
parent 38ad0fe1a7
commit 24f716ab20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,14 +101,14 @@ export default {
const metricCol = [
{
name: 'cpu',
labelKey: 'node.detail.glance.consumptionGauge.cpu',
labelKey: 'harvester.dashboard.hardwareResourceGauge.cpu',
value: 'id',
formatter: 'HarvesterCPUUsed',
formatterOpts: { showUsed: true },
},
{
name: 'memory',
labelKey: 'node.detail.glance.consumptionGauge.memory',
labelKey: 'harvester.dashboard.hardwareResourceGauge.memory',
value: 'id',
formatter: 'HarvesterMemoryUsed',
formatterOpts: { showUsed: true },