Skip to content

Commit

Permalink
Update pkg/scaling/scale_handler.go
Browse files Browse the repository at this point in the history
Co-authored-by: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com>
  • Loading branch information
TsuyoshiUshio and zroubalik authored Sep 4, 2021
1 parent 9009b3c commit 141bd85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scaling/scale_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (h *scaleHandler) getScalersMetrics(ctx context.Context, scalers []scalers.
maxValue := int64(0)
scalerType := fmt.Sprintf("%T:", scaler)

scalerLogger := h.logger.WithValues("Scaler", scalerType)
scalerLogger := h.logger.WithValues("ScaledJob", scaledJob.Name, "Scaler", scalerType)

metricSpecs := scaler.GetMetricSpecForScaling()

Expand Down

0 comments on commit 141bd85

Please sign in to comment.