etcdctl: Set watch consistency to STRONG

This commit is contained in:
micahhausler
2014-10-29 18:02:22 -07:00
committed by Kelsey Hightower
parent ba38847bdd
commit 2be3f870cc

View File

@ -65,7 +65,7 @@ func execWatchCommandFunc(c *cli.Context, client *etcd.Client) (*etcd.Response,
}()
receiver := make(chan *etcd.Response)
client.SetConsistency(etcd.WEAK_CONSISTENCY)
client.SetConsistency(etcd.STRONG_CONSISTENCY)
go client.Watch(key, uint64(index), recursive, receiver, stop)
for {