From 8aa68e428c30188edd627e2bf7d34135094dda81 Mon Sep 17 00:00:00 2001 From: Marcelo Bartsch Date: Thu, 9 Dec 2021 12:28:16 +0100 Subject: [PATCH] Update pkg/scalers/newrelic_scaler.go Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com> Signed-off-by: Marcelo Bartsch --- pkg/scalers/newrelic_scaler.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkg/scalers/newrelic_scaler.go b/pkg/scalers/newrelic_scaler.go index 4d7224d391d..331a2a57b02 100644 --- a/pkg/scalers/newrelic_scaler.go +++ b/pkg/scalers/newrelic_scaler.go @@ -8,17 +8,16 @@ import ( "log" "strconv" - kedautil "github.com/kedacore/keda/v2/pkg/util" + "github.com/newrelic/newrelic-client-go/newrelic" + "github.com/newrelic/newrelic-client-go/pkg/nrdb" + v2beta2 "k8s.io/api/autoscaling/v2beta2" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/metrics/pkg/apis/external_metrics" - - v2beta2 "k8s.io/api/autoscaling/v2beta2" "k8s.io/apimachinery/pkg/labels" + "k8s.io/metrics/pkg/apis/external_metrics" logf "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/newrelic/newrelic-client-go/newrelic" - "github.com/newrelic/newrelic-client-go/pkg/nrdb" + kedautil "github.com/kedacore/keda/v2/pkg/util" ) const (