add feature flag config

This commit is contained in:
andy.lee
2024-11-12 11:50:31 +01:00
committed by Francesco Torchia
parent aa3c9268e3
commit 77d7f13836
7 changed files with 107 additions and 16 deletions
+11 -12
View File
@@ -128,18 +128,17 @@ export default {
out.splice(-1, 0, storageHeader);
}
out.push({
name: 'cpuManager',
labelKey: 'harvester.tableHeaders.cpuManager',
value: 'id',
formatter: 'HarvesterCPUPinning',
formatterOpts: { rows: this.rows },
width: 150,
align: 'center',
});
if (this.rows.every((node) => node.cpuPinningFeatureEnabled)) {
out.push({
name: 'cpuManager',
labelKey: 'harvester.tableHeaders.cpuManager',
value: 'id',
formatter: 'HarvesterCPUPinning',
formatterOpts: { rows: this.rows },
width: 150,
align: 'center',
});
}
if (this.hasLonghornSchema) {
out.push({
name: 'diskState',