diff --git a/pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go b/pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go index 4f91937ba54..baad87699ac 100644 --- a/pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go +++ b/pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go @@ -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