Fix grammar: have -> has

This commit is contained in:
Yuan Tang 2019-11-18 11:17:58 -05:00 committed by GitHub
parent 5bac42bff9
commit dd308ca576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -485,7 +485,7 @@ func (jm *JobController) syncJob(key string) (bool, error) {
job.Status.StartTime = &now job.Status.StartTime = &now
// enqueue a sync to check if job past ActiveDeadlineSeconds // enqueue a sync to check if job past ActiveDeadlineSeconds
if job.Spec.ActiveDeadlineSeconds != nil { if job.Spec.ActiveDeadlineSeconds != nil {
klog.V(4).Infof("Job %s have ActiveDeadlineSeconds will sync after %d seconds", klog.V(4).Infof("Job %s has ActiveDeadlineSeconds will sync after %d seconds",
key, *job.Spec.ActiveDeadlineSeconds) key, *job.Spec.ActiveDeadlineSeconds)
jm.queue.AddAfter(key, time.Duration(*job.Spec.ActiveDeadlineSeconds)*time.Second) jm.queue.AddAfter(key, time.Duration(*job.Spec.ActiveDeadlineSeconds)*time.Second)
} }