Skip to content

Commit

Permalink
Apply code formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Tomek Urbaszek <[email protected]>
  • Loading branch information
turbaszek committed Aug 26, 2020
1 parent c951f4a commit 3870027
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pkg/scalers/metrics_api_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ func metricsAPIMetadata(resolvedEnv, metadata, authParams map[string]string) (*m
return &meta, nil
}


func (s *metricsAPIScaler) getMetricInfo() (*metric, error) {
var m *metric
u := fmt.Sprintf("%s/metrics/%s/", s.metadata.url, s.metadata.metricName)
Expand Down
2 changes: 1 addition & 1 deletion pkg/scalers/metrics_api_scaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
var metricsAPIResolvedEnv = map[string]string{}

type metricsAPIMetadataTestData struct {
metadata map[string]string
metadata map[string]string
raisesError bool
}

Expand Down

0 comments on commit 3870027

Please sign in to comment.