mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +00:00
Merge pull request #124215 from tk3fftk/patch-2
fix: add delay to log message when enqueueing a job
This commit is contained in:
commit
745f56ea2b
@ -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