mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctl: remove SetConsistency call
This call to SetConsistency is explicitly setting the default value, so it's really unnecessary.
This commit is contained in:
parent
2be3f870cc
commit
d36a3e18d2
@ -65,7 +65,6 @@ func execWatchCommandFunc(c *cli.Context, client *etcd.Client) (*etcd.Response,
|
||||
}()
|
||||
|
||||
receiver := make(chan *etcd.Response)
|
||||
client.SetConsistency(etcd.STRONG_CONSISTENCY)
|
||||
go client.Watch(key, uint64(index), recursive, receiver, stop)
|
||||
|
||||
for {
|
||||
|
Loading…
x
Reference in New Issue
Block a user