From 67b40a50c6bd24c937ca9d273e151529f6c22d4d Mon Sep 17 00:00:00 2001 From: KeZhang Date: Tue, 8 Dec 2020 11:20:24 +0800 Subject: [PATCH] Optimize log output --- pkg/controller/job/job_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/job/job_controller.go b/pkg/controller/job/job_controller.go index 70c7504834b..9e80ec1778a 100644 --- a/pkg/controller/job/job_controller.go +++ b/pkg/controller/job/job_controller.go @@ -348,7 +348,7 @@ func (jm *Controller) updateJob(old, cur interface{}) { total := time.Duration(*curADS) * time.Second // AddAfter will handle total < passed jm.queue.AddAfter(key, total-passed) - klog.V(4).Infof("job ActiveDeadlineSeconds updated, will rsync after %d seconds", total-passed) + klog.V(4).Infof("job %q ActiveDeadlineSeconds updated, will rsync after %d seconds", key, total-passed) } } }