mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
port for http servert must be integer
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user