Commit Graph

10 Commits

Author SHA1 Message Date
Victor Vieux 693fb0fcf1 fix panic with no port
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-24 01:42:35 +00:00
Victor Vieux 02cc59840f Revert "Fixes panic when ports are not specified"
This reverts commit a916f9cde0.

Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-24 01:42:15 +00:00
Brian Goff a916f9cde0 Fixes panic when ports are not specified
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2015-01-23 15:56:14 -05:00
Victor Vieux ecb47032bd fix panics in etcd and zookeeper + add tests
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-01-22 19:40:24 +00:00
Chanwit Kaewkasi 1b8166c7a5 callback 1 time before looping over the zookeeper's event channel
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-01-10 00:52:49 +07:00
Chanwit Kaewkasi f530d0886f implement a proper zookeeper watcher
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-01-08 19:34:54 +07:00
Chanwit Kaewkasi 1e2e60806d double check if someone delete /path outside swarm
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-01-08 19:34:52 +07:00
Chanwit Kaewkasi 66ff423861 make node registration more robust
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-01-08 19:34:50 +07:00
Chanwit Kaewkasi de2081fa19 skip ErrNodeExists for node registration
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-01-08 19:34:49 +07:00
Chanwit Kaewkasi 3564e38d80 add zookeeper discovery
Signed-off-by: Chanwit Kaewkasi <chanwit@gmail.com>
2015-01-08 19:34:46 +07:00