mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +03:00
mod_admin_shell: Fix showing default HTTP path in module:info
Thanks mod_http_openmetrics
This commit is contained in:
parent
17aad028b3
commit
fe93f28b16
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ function def_env.module:info(name, hosts)
|
|||
["adhoc-provider"] = item_name,
|
||||
["auth-provider"] = item_name,
|
||||
["storage-provider"] = item_name,
|
||||
["http-provider"] = function(item, mod) return mod:http_url(item.name); end,
|
||||
["http-provider"] = function(item, mod) return mod:http_url(item.name, item.default_path); end,
|
||||
["net-provider"] = item_name,
|
||||
["measure"] = function(item) return item.name .. " (" .. suf(item.conf and item.conf.unit, " ") .. item.type .. ")"; end,
|
||||
["metric"] = function(item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue