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
commitf766db30f0204db0b0e8b70ef088befd96278b3f (patch)
tree28786906dbc906e8ac3d566d56e58feea7e0020e
parent3e09ed1226707860aa2c6988c5bd85098fcd52a5 (diff)
downloadprosody-f766db30f0204db0b0e8b70ef088befd96278b3f.tar.gz
prosody-f766db30f0204db0b0e8b70ef088befd96278b3f.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;