Merge pull request #97113 from 249043822/bugfix-job-log111

Optimize log output for job controller
This commit is contained in:
Kubernetes Prow Robot 2021-01-11 20:52:38 -08:00 committed by GitHub
commit 51f31bd42c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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