plugins/mod_storage_sql.lua
changeset 8040 5a802653d50d
parent 8039 7ebaefc88b3d
child 8041 cd6cef579e82
--- a/plugins/mod_storage_sql.lua	Sat Apr 01 19:45:37 2017 +0200
+++ b/plugins/mod_storage_sql.lua	Sat Apr 01 19:45:47 2017 +0200
@@ -567,7 +567,7 @@
 	if command == "upgrade" then
 		-- We need to find every unique dburi in the config
 		local uris = {};
-		for host in pairs(prosody.hosts) do
+		for host in pairs(prosody.hosts) do -- luacheck: ignore 431/host
 			local params = normalize_params(config.get(host, "sql") or default_params);
 			uris[sql.db2uri(params)] = params;
 		end