Skip to content

Commit

Permalink
remove erroneous print statement
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Pickerill <[email protected]>
  • Loading branch information
robpickerill committed Apr 4, 2024
1 parent 0b61f97 commit c6dc524
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/scalers/aws_cloudwatch_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,6 @@ func (s *awsCloudwatchScaler) GetCloudwatchMetrics(ctx context.Context) (float64
s.logger.V(1).Info("Received Metric Data", "data", output)
var metricValue float64

fmt.Printf("output.MetricDataResults: %+v", output.MetricDataResults)

// If no metric data is received and errorWhenNullValues is set to true, return an error
if len(output.MetricDataResults) > 0 && len(output.MetricDataResults[0].Values) == 0 && s.metadata.errorWhenNullValues {
emptyMetricsErrMessage := "empty metric data received, and errorWhenNullValues is set to true, returning error"
Expand Down

0 comments on commit c6dc524

Please sign in to comment.