fix luacheck warning

This commit is contained in:
Elvin Efendi 2019-04-13 15:26:48 -04:00
parent e38c70b41b
commit 812d0600c0

View file

@ -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