Skip to content

Commit

Permalink
Merge pull request #16057 from mheon/fix_16046
Browse files Browse the repository at this point in the history
Clean up when stopping pods
  • Loading branch information
openshift-merge-robot authored Oct 6, 2022
2 parents 3655882 + e136376 commit d33a315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/domain/infra/abi/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d33a315

Please sign in to comment.