mirror of
https://github.com/containers/podman.git
synced 2025-09-19 00:56:15 +08:00
Merge pull request #18971 from edsantiago/silence_esrch
StopContainer(): ignore one more conmon warning
This commit is contained in:
@ -429,7 +429,7 @@ func (r *ConmonOCIRuntime) StopContainer(ctr *Container, timeout uint, all bool)
|
||||
if line == "" {
|
||||
continue
|
||||
}
|
||||
if strings.Contains(line, "container not running") || strings.Contains(line, "open pidfd: No such process") {
|
||||
if strings.Contains(line, "container not running") || strings.Contains(line, "open pidfd: No such process") || strings.Contains(line, "kill container: No such process") {
|
||||
logrus.Debugf("Failure to kill container (already stopped?): logged %s", line)
|
||||
continue
|
||||
}
|
||||
|
Reference in New Issue
Block a user