#234 Fix comments

This commit is contained in:
feuillemorte
2018-02-06 11:53:45 +03:00
parent ee2a1b4f4d
commit 6fb01801ac

View File

@@ -210,7 +210,10 @@ class WorkerController(object):
self.gateway = gateway self.gateway = gateway
self.config = config self.config = config
self.workerinput = {'workerid': gateway.id, self.workerinput = {'workerid': gateway.id,
'workercount': len(nodemanager.specs)} 'workercount': len(nodemanager.specs),
'slaveid': gateway.id,
'slavecount': len(nodemanager.specs)
}
# TODO: deprecated name, backward compatibility only. Remove it in future # TODO: deprecated name, backward compatibility only. Remove it in future
self.slaveinput = self.workerinput self.slaveinput = self.workerinput
self._down = False self._down = False