-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MemcachedClient Get() function (#500)
* Fix MemcacheClient get function When there was a cache miss after Get() the item was nil and we were using its key attribute to wrap an error with more information. This was wrong and now the error is using the input key string. Also added a unit test for this scenario. * fix go imports
- Loading branch information
1 parent
c28eb2a
commit c61b0bf
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters