mod_admin_shell: Fix showing default HTTP path in module:info
Thanks mod_http_openmetrics
--- a/plugins/mod_admin_shell.lua Thu Nov 25 16:57:01 2021 +0100
+++ b/plugins/mod_admin_shell.lua Thu Nov 25 17:07:13 2021 +0100
@@ -443,7 +443,7 @@
["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)