Changeset

7701:672a863105f6

util.statsd: Ignore unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 18 Oct 2016 15:17:29 +0200
parents 7700:0d70410efdcf
children 7702:9385c367e920
files util/statsd.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;