Skip to content

Commit

Permalink
fix log message
Browse files Browse the repository at this point in the history
Signed-off-by: Josef Karasek <josef@kedify.io>
  • Loading branch information
josefkarasek committed Jun 25, 2024
1 parent a8275bc commit c44795a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scaling/executor/scale_jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (e *scaleExecutor) getScalingDecision(scaledJob *kedav1alpha1.ScaledJob, ru

func (e *scaleExecutor) createJobs(ctx context.Context, logger logr.Logger, scaledJob *kedav1alpha1.ScaledJob, scaleTo int64, maxScale int64) {
if maxScale <= 0 {
logger.Info("No need to create jobs", "Effective maxScale", maxScale)
logger.Info("No need to create jobs - all requested jobs already exist", "jobs", maxScale)
return
}
logger.Info("Creating jobs", "Effective number of max jobs", maxScale)
Expand Down

0 comments on commit c44795a

Please sign in to comment.