mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +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)
|
err := ic.Libpod.RemovePod(ctx, p, true, options.Force)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
report.Err = err
|
report.Err = err
|
||||||
|
reports = append(reports, &report)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
reports = append(reports, &report)
|
reports = append(reports, &report)
|
||||||
|
Reference in New Issue
Block a user