mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08:00
pkg, pods: report pod rm errors
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user