samuel / go-zookeeper

Native ZooKeeper client for Go. This project is no longer maintained. Please use https://github.com/go-zookeeper/zk instead.
BSD 3-Clause "New" or "Revised" License
1.64k stars 672 forks source link

zk: add ReadOnly flag always set to false #232

Open timoha opened 4 years ago

timoha commented 4 years ago

Needed to work with newer servers that expect the field or log a WARN otherwise. Does not implement readonly mode, just fixes #86.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 79.609% when pulling ba96e0e81e3de7b25487e7113b9d6d309de2eac1 on timoha:read-only-mode into 2cc03de413da42869e2db7ce7965d3e978d917eb on samuel:master.