Skip to content
Browse files

rep should be res

  • Loading branch information...
1 parent 98814a1 commit 6f96e9f167c54afd5973ea9bf096a15337469aa3 @pintsized committed Feb 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/redis.lua
View
2 lib/redis.lua
@@ -17,7 +17,7 @@ function redis.query(query)
})
if (res.status == ngx.HTTP_OK) then
- return redis.parser.parse_reply(rep.body)
+ return redis.parser.parse_reply(res.body)
else
return nil, res.status
end

0 comments on commit 6f96e9f

Please sign in to comment.
Something went wrong with that request. Please try again.