fix some typos
Signed-off-by: Lei Gong <lgong@alauda.io>
This commit is contained in:
parent
2be92628b7
commit
e73510d818
2 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ Feature backed by OpenResty Lua libraries. Requires that OCSP stapling is not en
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*enableSSLChainCompletion || !*dynamicConfigurationEnabled) && *dynamicCertificatesEnabled {
|
if (*enableSSLChainCompletion || !*dynamicConfigurationEnabled) && *dynamicCertificatesEnabled {
|
||||||
return false, nil, fmt.Errorf(`SSL certificate chain completion cannot be enabled and dynamic configration cannot be disabled when
|
return false, nil, fmt.Errorf(`SSL certificate chain completion cannot be enabled and dynamic configuration cannot be disabled when
|
||||||
dynamic certificates functionality is enabled. Please check the flags --enable-ssl-chain-completion and --enable-dynamic-configuration`)
|
dynamic certificates functionality is enabled. Please check the flags --enable-ssl-chain-completion and --enable-dynamic-configuration`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ end
|
||||||
|
|
||||||
function _M.call()
|
function _M.call()
|
||||||
if #metrics_batch >= MAX_BATCH_SIZE then
|
if #metrics_batch >= MAX_BATCH_SIZE then
|
||||||
ngx.log(ngx.WARN, "omiting metrics for the request, current batch is full")
|
ngx.log(ngx.WARN, "omitting metrics for the request, current batch is full")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue