Skip to content

Commit d33a315

Browse files
Merge pull request #16057 from mheon/fix_16046
Clean up when stopping pods
2 parents 3655882 + e136376 commit d33a315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/domain/infra/abi/pods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func (ic *ContainerEngine) PodStop(ctx context.Context, namesOrIds []string, opt
195195
}
196196
for _, p := range pods {
197197
report := entities.PodStopReport{Id: p.ID()}
198-
errs, err := p.StopWithTimeout(ctx, false, options.Timeout)
198+
errs, err := p.StopWithTimeout(ctx, true, options.Timeout)
199199
if err != nil && !errors.Is(err, define.ErrPodPartialFail) {
200200
report.Errs = []error{err}
201201
reports = append(reports, &report)

0 commit comments

Comments
 (0)