docker/swarm — pull request #183 by vieux (2014-12-18 00:11:26+00:00)
Title: better synchronization in cluster.UpdateNodes

As we can't lock during the whole `connect` first add the node to a "connecting" list and then move it the the actual list of nodes when it's connected.