Merge pull request #3449 from YLonely/container-delete-bug

bug fix:#3448
This commit is contained in:
Michael Crosby 2019-07-29 10:49:16 -04:00 committed by GitHub
commit fbca688971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,7 +171,9 @@ func WithSnapshotCleanup(ctx context.Context, client *Client, c containers.Conta
if err != nil { if err != nil {
return err return err
} }
return s.Remove(ctx, c.SnapshotKey) if err := s.Remove(ctx, c.SnapshotKey); err != nil && !errdefs.IsNotFound(err) {
return err
}
} }
return nil return nil
} }