fix: missing label in VM scheduling tab

Signed-off-by: andy.lee <andy.lee@suse.com>
(cherry picked from commit eb667fd56b2bd45e08ffbb11fd08faf453dd1b2f)
This commit is contained in:
andy.lee 2025-01-08 14:41:18 +08:00 committed by Mergify
parent 90b85d2be7
commit e6fc641a29

View File

@ -282,14 +282,14 @@ export default {
affinityLabels() {
return {
namespaceInputLabel: this.t('harvesterManager.affinity.namespaces.label'),
namespaceInputLabel: this.t('harvester.virtualMachine.affinity.namespaces.label'),
namespaceSelectionLabels: [
this.t('harvesterManager.affinity.thisPodNamespace'),
this.t('harvester.virtualMachine.affinity.thisPodNamespace'),
this.t('workload.scheduling.affinity.allNamespaces'),
this.t('harvesterManager.affinity.matchExpressions.inNamespaces')
this.t('harvester.virtualMachine.affinity.matchExpressions.inNamespaces')
],
addLabel: this.t('harvesterManager.affinity.addLabel'),
topologyKeyPlaceholder: this.t('harvesterManager.affinity.topologyKey.placeholder')
addLabel: this.t('harvester.affinity.addLabel'),
topologyKeyPlaceholder: this.t('harvester.affinity.topologyKey.placeholder')
};
},
},