From 869a1a211a5e35c87eef36dc5fe8dd12c645d3c7 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 27 Apr 2020 14:02:46 +0200 Subject: pkg, pods: report pod rm errors Signed-off-by: Giuseppe Scrivano --- pkg/domain/infra/abi/pods.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/domain/infra/abi/pods.go b/pkg/domain/infra/abi/pods.go index 3a71a3253..7c06f9a4e 100644 --- a/pkg/domain/infra/abi/pods.go +++ b/pkg/domain/infra/abi/pods.go @@ -236,6 +236,7 @@ func (ic *ContainerEngine) PodRm(ctx context.Context, namesOrIds []string, optio err := ic.Libpod.RemovePod(ctx, p, true, options.Force) if err != nil { report.Err = err + reports = append(reports, &report) continue } reports = append(reports, &report) -- cgit v1.2.3-54-g00ecf