aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_shell.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_admin_shell.lua')
-rw-r--r--plugins/mod_admin_shell.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 9b7386b8..555f6715 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -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)