Changeset

6686:c5b512cddda0

portmanager: Add luacheck annotations
author Matthew Wild <mwild1@gmail.com>
date Wed, 13 May 2015 17:07:30 +0100
parents 6678:343ca80ceb36
children 6687:d1ee04683689
files core/portmanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/portmanager.lua	Wed May 13 16:57:27 2015 +0100
+++ b/core/portmanager.lua	Wed May 13 17:07:30 2015 +0100
@@ -152,7 +152,7 @@
 end
 
 function deactivate(service_name, service_info)
-	for name, interface, port, n, active_service
+	for name, interface, port, n, active_service --luacheck: ignore 213/name 213/n
 		in active_services:iter(service_name or service_info and service_info.name, nil, nil, nil) do
 		if service_info == nil or active_service.service == service_info then
 			close(interface, port);