Skip to content

Commit 353e371

Browse files
kozakjborkowski
authored andcommitted
Try to use ngx.null
1 parent 85a8846 commit 353e371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resty/acme/storage/redis.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function _M:add(k, v, ttl)
105105
end
106106
if err then
107107
return err
108-
elseif ok == nil then
108+
elseif ok == ngx.null then
109109
return "exists"
110110
end
111111
end

0 commit comments

Comments
 (0)