mirror of
https://github.com/containers/podman.git
synced 2025-09-19 23:03:16 +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 == "" {
|
if line == "" {
|
||||||
continue
|
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)
|
logrus.Debugf("Failure to kill container (already stopped?): logged %s", line)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user