fixing default zookeeper port

This commit is contained in:
Spencer Herzberg
2015-05-06 08:57:24 -05:00
parent b6747a0492
commit 106ef3cc0f

View File

@@ -40,7 +40,7 @@ func newZookeeperBackend(conf map[string]string) (Backend, error) {
machines, ok = conf["address"]
if !ok {
// Default to the localhost instance
machines = "localhost:2128"
machines = "localhost:2181"
}
client, _, err := zk.Connect(strings.Split(machines, ","), time.Second)