From 3717f5872a5abe08be4be2e0de8a2f3fd0666410 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 31 May 2022 13:26:44 +0200 Subject: mod_admin_shell: Drop unused argument [luacheck] --- plugins/mod_admin_shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 1ced2e49..afe91011 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -513,7 +513,7 @@ function def_env.module:info(name, hosts) ["auth-provider"] = item_name, ["storage-provider"] = item_name, ["http-provider"] = function(item, mod) return mod:http_url(item.name, item.default_path); end, - ["net-provider"] = function(item, mod) + ["net-provider"] = function(item) local service_name = item.name; local ports_list = {}; for _, interface, port in portmanager.get_active_services():iter(service_name, nil, nil) do -- cgit v1.2.3