mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-20 08:04:52 +00:00
🌱 Refactor code to fix lint warning (#218)
* Refactor code to fix lint warning Signed-off-by: Jian Qiu <jqiu@redhat.com> * enable lint for testing files Signed-off-by: Jian Qiu <jqiu@redhat.com> --------- Signed-off-by: Jian Qiu <jqiu@redhat.com>
This commit is contained in:
@@ -21,7 +21,6 @@ import (
|
||||
clusterapiv1beta2 "open-cluster-management.io/api/cluster/v1beta2"
|
||||
|
||||
controllers "open-cluster-management.io/ocm/pkg/placement/controllers"
|
||||
scheduling "open-cluster-management.io/ocm/pkg/placement/controllers/scheduling"
|
||||
"open-cluster-management.io/ocm/test/integration/util"
|
||||
)
|
||||
|
||||
@@ -103,7 +102,6 @@ func BenchmarkSchedulePlacements10000(b *testing.B) {
|
||||
func benchmarkSchedulePlacements(b *testing.B, pnum, cnum int) {
|
||||
var err error
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
scheduling.ResyncInterval = time.Second * 5
|
||||
|
||||
// start a kube-apiserver
|
||||
testEnv := &envtest.Environment{
|
||||
|
||||
Reference in New Issue
Block a user