forked from BLC/AyposWeb
CI/CD
This commit is contained in:
@@ -5,8 +5,10 @@ import {
|
||||
CategoryScale,
|
||||
LinearScale,
|
||||
BarElement,
|
||||
BarController,
|
||||
PointElement,
|
||||
LineElement,
|
||||
LineController,
|
||||
Title,
|
||||
Tooltip,
|
||||
Legend,
|
||||
@@ -18,8 +20,10 @@ ChartJS.register(
|
||||
CategoryScale,
|
||||
LinearScale,
|
||||
BarElement,
|
||||
BarController,
|
||||
PointElement,
|
||||
LineElement,
|
||||
LineController,
|
||||
Title,
|
||||
Tooltip,
|
||||
Legend
|
||||
@@ -225,4 +229,4 @@ const ResourceDistributionChart: React.FC<ResourceDistributionChartProps> = ({
|
||||
);
|
||||
};
|
||||
|
||||
export default ResourceDistributionChart;
|
||||
export default ResourceDistributionChart;
|
||||
|
||||
@@ -898,10 +898,10 @@ const Home = () => {
|
||||
migration_advices: {
|
||||
migration_method: migrationMethod === 'mathematical' ? 'migration_advices_la' : 'migration_advices_llm',
|
||||
migration_weights: {
|
||||
power: weights.energy.toString(),
|
||||
balance: weights.balance.toString(),
|
||||
overload: weights.overload.toString(),
|
||||
allocation: weights.allocation.toString()
|
||||
power: (weights.energy / 100).toString(),
|
||||
balance: (weights.balance / 100).toString(),
|
||||
overload: (weights.overload / 100).toString(),
|
||||
allocation: (weights.allocation / 100).toString()
|
||||
}
|
||||
},
|
||||
block_list: blockList
|
||||
|
||||
Reference in New Issue
Block a user