Changeset

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
parents 7482:88a92ba697bf
children 7484:d962ccf90735
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;