prosodyctl: remove unused one-letter loop variable [luacheck]
authorAnton Shestakov <av6@dwimlabs.net>
Sat, 9 Jul 2016 05:52:57 +0000 (13:52 +0800)
committerAnton Shestakov <av6@dwimlabs.net>
Sat, 9 Jul 2016 05:52:57 +0000 (13:52 +0800)
prosodyctl

index 226ff2cf48b370ea991b3a63228191074243c5bf..34a67e6893ceaea8f668614ae284c8134148061c 100755 (executable)
@@ -717,7 +717,7 @@ function cert_commands.config(arg)
                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;