mirror of https://github.com/containers/podman.git
Merge pull request #18971 from edsantiago/silence_esrch
StopContainer(): ignore one more conmon warning
This commit is contained in:
commit
436df1ba1f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue