mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 15:28:37 -05:00
ZooKeeper: replace deprecated connect() with start().
This commit is contained in:
@@ -46,7 +46,7 @@ def connect_to_zookeeper(hostlist, credentials):
|
||||
# convenient helper function for making credentials
|
||||
client.make_acl = functools.partial(make_digest_acl, *credentials)
|
||||
|
||||
client.connect()
|
||||
client.start()
|
||||
client.add_auth("digest", ":".join(credentials))
|
||||
return client
|
||||
|
||||
|
||||
Reference in New Issue
Block a user