aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-10-18 15:17:29 +0200
committerKim Alvefur <zash@zash.se>2016-10-18 15:17:29 +0200
commit2fa313a15ffb9d266bbaf93efd1436f237333b07 (patch)
tree28786906dbc906e8ac3d566d56e58feea7e0020e
parent71d4c99a5de0b78a9d72bd85c7a0293bfd9dbd16 (diff)
downloadprosody-2fa313a15ffb9d266bbaf93efd1436f237333b07.tar.gz
prosody-2fa313a15ffb9d266bbaf93efd1436f237333b07.zip
util.statsd: Ignore unused argument [luacheck]
-rw-r--r--util/statsd.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/statsd.lua b/util/statsd.lua
index 2874e8a8..e5322de9 100644
--- a/util/statsd.lua
+++ b/util/statsd.lua
@@ -44,7 +44,7 @@ local function new(config)
end
return function (new_v) send_gauge(name, new_v); end
end;
- counter = function (name, initial)
+ counter = function (name, initial) --luacheck: ignore 212/initial
return function (delta)
send_gauge(name, delta, true);
end;