Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memcached: fix Delete and Get for missing items #261

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

woutslakhorst
Copy link
Contributor

according to the godoc of github.com/bradfitz/gomemcache at https://pkg.go.dev/github.com/bradfitz/gomemcache/memcache both Get and Delete may return a memcache.ErrCacheMiss when the key is not found. This should be reflected with a NotFound error for a Get or no error for a Delete.

Used https://github.com/daangn/minimemcached to test this.

@eko eko merged commit 2384199 into eko:master Dec 23, 2024
@eko
Copy link
Owner

eko commented Dec 23, 2024

Thank you @woutslakhorst

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