mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 06:43:54 +00:00
fix(job_controller): add delay duration to log message when enqueueing job
This commit is contained in:
parent
9791f0d1f3
commit
84ffc2fc3d
@ -563,7 +563,7 @@ func (jm *Controller) enqueueSyncJobInternal(logger klog.Logger, obj interface{}
|
|||||||
// all controllers there will still be some replica instability. One way to handle this is
|
// all controllers there will still be some replica instability. One way to handle this is
|
||||||
// by querying the store for all controllers that this rc overlaps, as well as all
|
// by querying the store for all controllers that this rc overlaps, as well as all
|
||||||
// controllers that overlap this rc, and sorting them.
|
// controllers that overlap this rc, and sorting them.
|
||||||
logger.Info("enqueueing job", "key", key)
|
logger.Info("enqueueing job", "key", key, "delay", delay)
|
||||||
jm.queue.AddAfter(key, delay)
|
jm.queue.AddAfter(key, delay)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user