Skip to content

Commit

Permalink
Try to use ngx.null
Browse files Browse the repository at this point in the history
  • Loading branch information
kozak authored and jborkowski committed Nov 13, 2024
1 parent e335ee2 commit f312e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resty/acme/storage/redis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function _M:add(k, v, ttl)
end
if err then
return err
elseif ok == nil then
elseif ok == ngx.null then
return "exists"
end
end
Expand Down

0 comments on commit f312e06

Please sign in to comment.