X Tutup
Skip to content

Commit 3a31ce2

Browse files
authored
Merge pull request containerd#3853 from dmcgowan/fix-content-test-cleanup-race
Fix cleanup error on content client test
2 parents 3e5402c + 8da4346 commit 3a31ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func newContentStore(ctx context.Context, root string) (context.Context, content
5757
return err
5858
}
5959
for _, st := range statuses {
60-
if err := cs.Abort(ctx, st.Ref); err != nil {
60+
if err := cs.Abort(ctx, st.Ref); err != nil && !errdefs.IsNotFound(err) {
6161
return errors.Wrapf(err, "failed to abort %s", st.Ref)
6262
}
6363
}

0 commit comments

Comments
 (0)
X Tutup