fix duration logging (#1992)

This commit is contained in:
Dave Protasowski 2021-01-15 15:20:20 -05:00 committed by GitHub
parent a74906c7fb
commit 5bb97df49b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}