diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-10-07 00:48:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 00:48:11 +0200 |
commit | d33a31524a275245b9535871208a2858ba517ed0 (patch) | |
tree | 2fbcb39bbabfb5f604f856e19471b052066ece00 | |
parent | 36558828ae57c8069ed5206a23d2bd582666435f (diff) | |
parent | e136376d1f898303fb059cad729e2d65578a4c8c (diff) | |
download | podman-d33a31524a275245b9535871208a2858ba517ed0.tar.gz podman-d33a31524a275245b9535871208a2858ba517ed0.tar.bz2 podman-d33a31524a275245b9535871208a2858ba517ed0.zip |
Merge pull request #16057 from mheon/fix_16046
Clean up when stopping pods
-rw-r--r-- | pkg/domain/infra/abi/pods.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/pods.go b/pkg/domain/infra/abi/pods.go index 45a47b46e..4b269d925 100644 --- a/pkg/domain/infra/abi/pods.go +++ b/pkg/domain/infra/abi/pods.go @@ -195,7 +195,7 @@ func (ic *ContainerEngine) PodStop(ctx context.Context, namesOrIds []string, opt } for _, p := range pods { report := entities.PodStopReport{Id: p.ID()} - errs, err := p.StopWithTimeout(ctx, false, options.Timeout) + errs, err := p.StopWithTimeout(ctx, true, options.Timeout) if err != nil && !errors.Is(err, define.ErrPodPartialFail) { report.Errs = []error{err} reports = append(reports, &report) |