Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The error `redis.Nil` is only returned when no key is found in the Redis database. In that case, we should only return and nil value instead of an error. Therefore, this patch fixes the `Get` method to only return an error when necessary.