Skip to content

Commit

Permalink
nit: fix incorrect error log
Browse files Browse the repository at this point in the history
Signed-off-by: Phan Le <phan.le@suse.com>
  • Loading branch information
PhanLe1010 committed Aug 7, 2023
1 parent 08b3613 commit c5287c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/process/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (p *Process) StopWithSignal(signal syscall.Signal) {
logrus.Infof("Wait for process %v to shutdown", p.Name)
time.Sleep(types.WaitInterval)
}
logrus.Warnf("Process Manager: cannot graceful stop process %v in %v seconds, will kill the process", p.Name, types.WaitCount)
logrus.Warnf("Process Manager: cannot graceful stop process %v in %v, will kill the process", p.Name, time.Duration(types.WaitCount)*types.WaitInterval)
cmd.Kill()
}()
}
Expand Down

0 comments on commit c5287c4

Please sign in to comment.