Skip to content

Commit c153c61

Browse files
committed
Try to use ngx.null
1 parent 8090193 commit c153c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resty/acme/storage/redis.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function _M:add(k, v, ttl)
9191
end
9292
if err then
9393
return err
94-
elseif ok == nil then
94+
elseif ok == ngx.null then
9595
return "exists"
9696
end
9797
end

0 commit comments

Comments
 (0)