From 32d5ba03ce659d5d845659df16bfc83bba4f7a2d Mon Sep 17 00:00:00 2001 From: Yoon Park Date: Tue, 29 Aug 2023 21:25:27 +0900 Subject: [PATCH] Change log message to scaledJob Signed-off-by: Yoon Park --- pkg/scaling/scale_handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scaling/scale_handler.go b/pkg/scaling/scale_handler.go index 66f392ecc8c..7e552ba0eb5 100644 --- a/pkg/scaling/scale_handler.go +++ b/pkg/scaling/scale_handler.go @@ -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) } }