mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix wrong error handling for log_default and increase delay for k8s/tls test
This commit is contained in:
parent
66b1c015fc
commit
c8452aada6
2 changed files with 3 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"name": "kubernetes-tls",
|
||||
"kinds": ["kubernetes"],
|
||||
"timeout": 60,
|
||||
"delay": 120,
|
||||
"delay": 180,
|
||||
"tls_edit": false,
|
||||
"tests": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -101,6 +101,8 @@ server {
|
|||
local ok, ret = call_plugin(plugin_obj, "log_default")
|
||||
if not ok then
|
||||
logger:log(ERR, ret)
|
||||
elseif not ret.ret then
|
||||
logger:log(ERR, plugin_id .. ":log_default() call failed : " .. ret.msg)
|
||||
else
|
||||
logger:log(INFO, plugin_id .. ":log_default() call successful : " .. ret.msg)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue