refactoring in routerManager

This commit is contained in:
Bastian Schroll 2019-10-25 15:56:20 +02:00
parent c07237f2ea
commit 277cd9db12
No known key found for this signature in database
GPG key ID: 0AE96912A20E9F5F
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ class RouterManager:
self._startTime = int(time.time())
# if there is an error, router list would be empty (see tmp variable)
def buildRouter(self, config):
def buildRouters(self, config):
"""!Initialize Routers from given config file
@param config: instance of ConfigYaml class

View file

@ -72,7 +72,7 @@ bcServer = None
try:
bwRoutMan = RouterManager()
if not bwRoutMan.buildRouter(bwConfig):
if not bwRoutMan.buildRouters(bwConfig):
logging.fatal("Error while building routers")
exit(1)