Skip to content

Commit

Permalink
Change log message to scaledJob
Browse files Browse the repository at this point in the history
Signed-off-by: Yoon Park <[email protected]>
  • Loading branch information
yoongon committed Aug 29, 2023
1 parent 48a2968 commit 32d5ba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scaling/scale_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -685,10 +685,10 @@ func (h *scaleHandler) getScaledJobMetrics(ctx context.Context, scaledJob *kedav

if isTriggerActive {
if spec.External != nil {
logger.V(1).Info("Scaler for scaledObject is active", "scaler", scalerName, "metricName", metricName)
logger.V(1).Info("Scaler for scaledJob is active", "scaler", scalerName, "metricName", metricName)
}
if spec.Resource != nil {
logger.V(1).Info("Scaler for scaledObject is active", "scaler", scalerName, "metricName", spec.Resource.Name)
logger.V(1).Info("Scaler for scaledJob is active", "scaler", scalerName, "metricName", spec.Resource.Name)
}
}

Expand Down

0 comments on commit 32d5ba0

Please sign in to comment.