Skip to content

fix(store): ignore ErrNotExist when removing incomplete blob file#916

Closed
doringeman wants to merge 1 commit into
docker:mainfrom
doringeman:fix/ignore-enoent-removing-incomplete-blob
Closed

fix(store): ignore ErrNotExist when removing incomplete blob file#916
doringeman wants to merge 1 commit into
docker:mainfrom
doringeman:fix/ignore-enoent-removing-incomplete-blob

Conversation

@doringeman
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Dorin Geman <dorin.geman@docker.com>
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates pkg/distribution/internal/store/blobs.go to handle os.ErrNotExist when removing incomplete files in WriteBlobWithResume. This is a pragmatic fix that prevents spurious errors when the system attempts to start a fresh write. I have no feedback to provide.

@doringeman doringeman closed this May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants