Skip to content

Commit d4fd412

Browse files
committed
update the log message to reflect success and failed jobs
1 parent 551f3c7 commit d4fd412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/job/job_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ func (jm *Controller) syncJob(ctx context.Context, key string) (rErr error) {
851851
return nil
852852
}
853853
if _, ok := jm.finishedJobExpectations.Load(job.UID); ok {
854-
logger.V(2).Info("Skip syncing the job as its marked completed but the completed update event is not yet received", "uid", job.UID, "key", key)
854+
logger.V(2).Info("Skip syncing the job as its marked finished but the corresponding update event is not yet received", "uid", job.UID, "key", key)
855855
return nil
856856
}
857857

0 commit comments

Comments
 (0)