zk set with version 0

This commit is contained in:
Gyu-Ho Lee 2016-05-05 15:35:57 -07:00
parent 0882a57517
commit ef759ef011
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ func doPutZk(conn *zk.Conn, requests <-chan request, sameKey bool) {
if !sameKey || idx == 0 {
_, err = conn.Create(op.key, op.value, zkCreateFlags, zkCreateAcl)
} else {
_, err = conn.Set(op.key, op.value, idx)
_, err = conn.Set(op.key, op.value, 0)
}
var errStr string