Change 'servers' sections of connections.yaml to support new design in #2788

This commit is contained in:
David Stainton 2016-05-18 10:54:28 +00:00 committed by Daira Hopwood
parent a67e7c0db9
commit 9063106f3a

View File

@ -382,8 +382,8 @@ class Client(node.Node, pollmixin.PollMixin):
# utilize the loaded static server specifications
servers = self.connections_config['servers']
for server_id in servers.keys():
eventually(self.storage_broker.got_static_announcement, servers[server_id]['key_s'], servers[server_id]['announcement'])
for server_key in servers.keys():
eventually(self.storage_broker.got_static_announcement, server_key, servers[server_id]['announcement'])
sb.use_introducer(self.introducer_client)