fix luacheck warning
This commit is contained in:
parent
b13432dbe0
commit
93f00b2143
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ function _M.call()
|
||||||
ngx.log(ngx.ERR, "error while obtaining hostname: " .. hostname_err)
|
ngx.log(ngx.ERR, "error while obtaining hostname: " .. hostname_err)
|
||||||
end
|
end
|
||||||
if not hostname then
|
if not hostname then
|
||||||
ngx.log(ngx.INFO, "obtained hostname is nil (the client does not support SNI?), falling back to default certificate")
|
ngx.log(ngx.INFO,
|
||||||
|
"obtained hostname is nil (the client does not support SNI?), falling back to default certificate")
|
||||||
hostname = DEFAULT_CERT_HOSTNAME
|
hostname = DEFAULT_CERT_HOSTNAME
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue