Merge pull request #3449 from YLonely/container-delete-bug
bug fix:#3448
This commit is contained in:
commit
fbca688971
@ -171,7 +171,9 @@ func WithSnapshotCleanup(ctx context.Context, client *Client, c containers.Conta
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return s.Remove(ctx, c.SnapshotKey)
|
||||
if err := s.Remove(ctx, c.SnapshotKey); err != nil && !errdefs.IsNotFound(err) {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user