godropbox icon indicating copy to clipboard operation
godropbox copied to clipboard

fix forgotten return in case of invalid line format from memcache ascii client

Open sivukhin opened this issue 2 years ago • 1 comments

I ran govanish linter (it still in the WIP phase) against godropbox repo and it found one suspicious place:

2023/12/24 17:03:42 it seems like your code vanished from compiled binary: func=[Stat], file=[/home/sivukhin/code/godropbox/repo/memcache/raw_ascii_client.go], line=[675], snippet:
	NewStatErrorResponse(err, shardEntries)

Obviously, this is a bug - return statement were forgotten.

This PR fixes this bug.

sivukhin avatar Dec 24 '23 13:12 sivukhin

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Dec 24 '23 13:12 CLAassistant