From dfeea1bc07d202980caa3ffd0ddbc7d2bb31a80d Mon Sep 17 00:00:00 2001 From: Yoon Park Date: Sun, 18 Jun 2023 22:57:41 +0900 Subject: [PATCH] Sort module to pass statick analysis --- pkg/scaling/scale_handler.go | 2 +- pkg/scaling/scale_handler_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/scaling/scale_handler.go b/pkg/scaling/scale_handler.go index 6d89e55a375..280c73f5f08 100644 --- a/pkg/scaling/scale_handler.go +++ b/pkg/scaling/scale_handler.go @@ -19,12 +19,12 @@ package scaling import ( "context" "fmt" - v2 "k8s.io/api/autoscaling/v2" "math" "strings" "sync" "time" + v2 "k8s.io/api/autoscaling/v2" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" diff --git a/pkg/scaling/scale_handler_test.go b/pkg/scaling/scale_handler_test.go index 58bc053377c..5e59358548e 100644 --- a/pkg/scaling/scale_handler_test.go +++ b/pkg/scaling/scale_handler_test.go @@ -20,8 +20,6 @@ import ( "context" "errors" "fmt" - batchv1 "k8s.io/api/batch/v1" - v1 "k8s.io/api/core/v1" "sync" "testing" "time" @@ -29,6 +27,8 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" v2 "k8s.io/api/autoscaling/v2" + batchv1 "k8s.io/api/batch/v1" + v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/record"