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

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

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
co-authored by Andy Lee
parent 38ad0fe1a7
commit 24f716ab20
+2 -2
View File
@@ -101,14 +101,14 @@ export default {
const metricCol = [ const metricCol = [
{ {
name: 'cpu', name: 'cpu',
labelKey: 'node.detail.glance.consumptionGauge.cpu', labelKey: 'harvester.dashboard.hardwareResourceGauge.cpu',
value: 'id', value: 'id',
formatter: 'HarvesterCPUUsed', formatter: 'HarvesterCPUUsed',
formatterOpts: { showUsed: true }, formatterOpts: { showUsed: true },
}, },
{ {
name: 'memory', name: 'memory',
labelKey: 'node.detail.glance.consumptionGauge.memory', labelKey: 'harvester.dashboard.hardwareResourceGauge.memory',
value: 'id', value: 'id',
formatter: 'HarvesterMemoryUsed', formatter: 'HarvesterMemoryUsed',
formatterOpts: { showUsed: true }, formatterOpts: { showUsed: true },