port for http servert must be integer

This commit is contained in:
Alexander Kukushkin
2015-05-26 09:17:58 +02:00
parent cca5bdef8f
commit 45c4ba85b4
+1 -1
View File
@@ -87,7 +87,7 @@ def main():
try:
governor.initialize()
host, port = config['restapi']['listen'].split(':')
RestApiServer(governor, host, port).start()
RestApiServer(governor, host, int(port)).start()
governor.run()
finally:
governor.touch_member(300) # schedule member removal