Merge pull request #111200 from ldsdsy/modify2

Format the code in pkg/scheduler/framework/plugins/noderesources
This commit is contained in:
Kubernetes Prow Robot
2022-07-18 15:36:52 -07:00
committed by GitHub

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