DescriptionIt only succeeds if the directory is empty, for instance
when it's created by ioutil.TempDir.
Also add Server.Addr method and change the NotRunning
error to ErrNotRunning.
https://code.launchpad.net/~rogpeppe/gozk/allow-existing-server-dir/+merge/96778
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : zookeeper: allow CreateServer to work in an existing directory. #
Total comments: 4
Patch Set 3 : zookeeper: allow CreateServer to work in an existing directory. #
MessagesTotal messages: 5
|