Optimize log output

This commit is contained in:
KeZhang 2020-12-08 11:20:24 +08:00
parent e1c617a88e
commit 67b40a50c6

View File

@ -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)
}
}
}