Format the code in pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go

This commit is contained in:
ldsdsy 2022-07-18 11:03:33 +08:00
parent f3654386ab
commit 2f1168d9a5

View File

@ -37,7 +37,7 @@ type BalancedAllocation struct {
resourceAllocationScorer
}
var _ = framework.ScorePlugin(&BalancedAllocation{})
var _ framework.ScorePlugin = &BalancedAllocation{}
// BalancedAllocationName is the name of the plugin used in the plugin registry and configurations.
const BalancedAllocationName = names.NodeResourcesBalancedAllocation