Diff

util/statsd.lua @ 7701:672a863105f6

util.statsd: Ignore unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 18 Oct 2016 15:17:29 +0200
parent 7522:ebf2e77ac8a7
child 7988:dc758422d896
line wrap: on
line diff
--- a/util/statsd.lua	Tue Oct 18 15:16:30 2016 +0200
+++ b/util/statsd.lua	Tue Oct 18 15:17:29 2016 +0200
@@ -44,7 +44,7 @@
 			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;