Fix grammar: have -> has
This commit is contained in:
parent
5bac42bff9
commit
dd308ca576
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user