Skip to content

Commit

Permalink
fixing lint checks
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Schlesinger <aaron@ecomaz.net>
  • Loading branch information
arschles committed Nov 30, 2020
1 parent 4e677cc commit 3c6c185
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions pkg/scalers/azure_blob_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"strconv"

"github.com/kedacore/keda/v2/pkg/scalers/azure"
"github.com/kedacore/keda/v2/pkg/util"

v2beta2 "k8s.io/api/autoscaling/v2beta2"
"k8s.io/apimachinery/pkg/api/resource"
Expand Down Expand Up @@ -54,7 +53,7 @@ func NewAzureBlobScaler(config *ScalerConfig) (Scaler, error) {
return &azureBlobScaler{
metadata: meta,
podIdentity: podIdentity,
httpClient: util.CreateHTTPClient(config.GlobalHTTPTimeout),
httpClient: kedautil.CreateHTTPClient(config.GlobalHTTPTimeout),
}, nil
}

Expand Down
3 changes: 1 addition & 2 deletions pkg/scalers/azure_queue_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"strconv"

"github.com/kedacore/keda/v2/pkg/scalers/azure"
"github.com/kedacore/keda/v2/pkg/util"

v2beta2 "k8s.io/api/autoscaling/v2beta2"
"k8s.io/apimachinery/pkg/api/resource"
Expand Down Expand Up @@ -51,7 +50,7 @@ func NewAzureQueueScaler(config *ScalerConfig) (Scaler, error) {
return &azureQueueScaler{
metadata: meta,
podIdentity: podIdentity,
httpClient: util.CreateHTTPClient(config.GlobalHTTPTimeout),
httpClient: kedautil.CreateHTTPClient(config.GlobalHTTPTimeout),
}, nil
}

Expand Down
3 changes: 1 addition & 2 deletions pkg/scalers/azure_servicebus_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/Azure/azure-amqp-common-go/v3/auth"
servicebus "github.com/Azure/azure-service-bus-go"
"github.com/kedacore/keda/v2/pkg/scalers/azure"
"github.com/kedacore/keda/v2/pkg/util"
v2beta2 "k8s.io/api/autoscaling/v2beta2"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down Expand Up @@ -59,7 +58,7 @@ func NewAzureServiceBusScaler(config *ScalerConfig) (Scaler, error) {
return &azureServiceBusScaler{
metadata: meta,
podIdentity: config.PodIdentity,
httpClient: util.CreateHTTPClient(config.GlobalHTTPTimeout),
httpClient: kedautil.CreateHTTPClient(config.GlobalHTTPTimeout),
}, nil
}

Expand Down

0 comments on commit 3c6c185

Please sign in to comment.