Diff

prosodyctl @ 7483:8c5320a4bfaf

prosodyctl: remove unused one-letter loop variable [luacheck]
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 09 Jul 2016 13:52:57 +0800
parent 7455:82d8c11ab0cb
child 7494:f82356adcd71
child 7528:50365a496890
line wrap: on
line diff
--- a/prosodyctl	Sat Jul 09 13:52:04 2016 +0800
+++ b/prosodyctl	Sat Jul 09 13:52:57 2016 +0800
@@ -717,7 +717,7 @@
 		else
 			show_message("Please provide details to include in the certificate config file.");
 			show_message("Leave the field empty to use the default value or '.' to exclude the field.")
-			for i, k in ipairs(openssl._DN_order) do
+			for _, k in ipairs(openssl._DN_order) do
 				local v = conf.distinguished_name[k];
 				if v then
 					local nv;