Address comments
This commit is contained in:
parent
08694cc9de
commit
a4e30941ff
1 changed files with 2 additions and 2 deletions
|
@ -225,8 +225,8 @@ end
|
|||
|
||||
function _M.set_cache_size(size)
|
||||
local cache, err = lrucache.new(size)
|
||||
if err then
|
||||
ngx.log(ngx.ERR, string.format("failed to create the certificate cache: %s", tostring(err)))
|
||||
if not cache then
|
||||
ngx.log(ngx.ERR, string.format("failed to create the certificate cache: %s", err))
|
||||
end
|
||||
certificate_cache = cache
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue