mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -05:00
Fix logrus formatting
This fix tries to fix logrus formatting by removing `f` from `logrus.[Error|Warn|Debug|Fatal|Panic|Info]f` when formatting string is not present. This fix fixes #23459. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Upstream-commit: a72b45dbec3caeb3237d1af5aedd04adeb083571 Component: engine
This commit is contained in:
@@ -284,12 +284,12 @@ func (h *handler) Execute(_ []string, r <-chan svc.ChangeRequest, s chan<- svc.S
|
||||
// Wait for initialization to complete.
|
||||
failed := <-h.tosvc
|
||||
if failed {
|
||||
logrus.Debugf("Aborting service start due to failure during initializtion")
|
||||
logrus.Debug("Aborting service start due to failure during initializtion")
|
||||
return true, 1
|
||||
}
|
||||
|
||||
s <- svc.Status{State: svc.Running, Accepts: svc.AcceptStop | svc.AcceptShutdown | svc.Accepted(windows.SERVICE_ACCEPT_PARAMCHANGE)}
|
||||
logrus.Debugf("Service running")
|
||||
logrus.Debug("Service running")
|
||||
Loop:
|
||||
for {
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user