mirror of https://github.com/knative/pkg.git
fix duration logging (#1992)
This commit is contained in:
parent
a74906c7fb
commit
5bb97df49b
|
|
@ -527,7 +527,7 @@ func (c *Impl) processNextWorkItem() bool {
|
|||
// Finally, if no error occurs we Forget this item so it does not
|
||||
// have any delay when another change happens.
|
||||
c.workQueue.Forget(key)
|
||||
logger.Info("Reconcile succeeded. Time taken: ", zap.Duration("duration", time.Since(startTime)))
|
||||
logger.Infow("Reconcile succeeded", zap.Duration("duration", time.Since(startTime)))
|
||||
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue