# HG changeset patch # User Kim Alvefur # Date 1637856433 -3600 # Node ID cf47834d369891f55a468f4135fa0eca61bad199 # Parent b4f77a7bf8abef7492c20c821aa575fa21bff49f mod_admin_shell: Fix showing default HTTP path in module:info Thanks mod_http_openmetrics diff -r b4f77a7bf8ab -r cf47834d3698 plugins/mod_admin_shell.lua --- 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)