From 2f1168d9a52d590a287d5539bb0902064718d432 Mon Sep 17 00:00:00 2001 From: ldsdsy Date: Mon, 18 Jul 2022 11:03:33 +0800 Subject: [PATCH] Format the code in pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go --- .../framework/plugins/noderesources/balanced_allocation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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