From 5a1110a4d48cecc8ff68b65d1520682870ef461a Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 15 Oct 2022 18:26:18 +0800 Subject: [PATCH] sort imports sort imports --- controllers/keda/scaledobject_controller_test.go | 4 ++-- main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/keda/scaledobject_controller_test.go b/controllers/keda/scaledobject_controller_test.go index 60df135d3fd..56edaee9df3 100644 --- a/controllers/keda/scaledobject_controller_test.go +++ b/controllers/keda/scaledobject_controller_test.go @@ -32,6 +32,8 @@ import ( "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" + kubeinformers "k8s.io/client-go/informers" + fakekubeclientset "k8s.io/client-go/kubernetes/fake" "sigs.k8s.io/controller-runtime/pkg/log/zap" kedav1alpha1 "github.com/kedacore/keda/v2/apis/keda/v1alpha1" @@ -39,8 +41,6 @@ import ( "github.com/kedacore/keda/v2/pkg/mock/mock_scaling" "github.com/kedacore/keda/v2/pkg/scalers" "github.com/kedacore/keda/v2/pkg/scaling/cache" - kubeinformers "k8s.io/client-go/informers" - fakekubeclientset "k8s.io/client-go/kubernetes/fake" ) type GinkgoTestReporter struct{} diff --git a/main.go b/main.go index 5ee466ed5b5..c0cecf0ac76 100644 --- a/main.go +++ b/main.go @@ -26,6 +26,7 @@ import ( apimachineryruntime "k8s.io/apimachinery/pkg/runtime" utilruntime "k8s.io/apimachinery/pkg/util/runtime" + kubeinformers "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes" clientgoscheme "k8s.io/client-go/kubernetes/scheme" _ "k8s.io/client-go/plugin/pkg/client/auth" @@ -39,7 +40,6 @@ import ( kedacontrollers "github.com/kedacore/keda/v2/controllers/keda" kedautil "github.com/kedacore/keda/v2/pkg/util" "github.com/kedacore/keda/v2/version" - kubeinformers "k8s.io/client-go/informers" //+kubebuilder:scaffold:imports )