mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #97113 from 249043822/bugfix-job-log111
Optimize log output for job controller
This commit is contained in:
commit
51f31bd42c
@ -348,7 +348,7 @@ func (jm *Controller) updateJob(old, cur interface{}) {
|
|||||||
total := time.Duration(*curADS) * time.Second
|
total := time.Duration(*curADS) * time.Second
|
||||||
// AddAfter will handle total < passed
|
// AddAfter will handle total < passed
|
||||||
jm.queue.AddAfter(key, 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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user