Closed issuefiler closed 4 years ago
Here we don't really care about the result, because were using SETEX (saving data)
I mean, the line number 110: return result, redisErr
. Does it really mean to return redisErr
that is a nil
?
Indeed, line 110 should return doErr
.
Todo: Fix
https://github.com/flashmob/go-guerrilla/blob/51f7dda326b1e9878e5f679ccb34a134127951b0/backends/p_redis.go#L100
https://github.com/flashmob/go-guerrilla/blob/51f7dda326b1e9878e5f679ccb34a134127951b0/backends/p_redis.go#L106-L111
Shouldn’t it
return result, doErr
?