*: fix logrus.Warn[f]
Signed-off-by: Antonio Murdaca <runcom@redhat.com> Upstream-commit: 44ccbb317c2ca67fd8a88147b1ff80ce83d453cc Component: engine
This commit is contained in:
@ -35,7 +35,7 @@ func (container *Container) Reset(lock bool) {
|
||||
}()
|
||||
select {
|
||||
case <-time.After(loggerCloseTimeout):
|
||||
logrus.Warnf("Logger didn't exit in time: logs may be truncated")
|
||||
logrus.Warn("Logger didn't exit in time: logs may be truncated")
|
||||
case <-exit:
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user