From d36a3e18d2a14a3a19a1104c1559e23037364e34 Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Thu, 30 Oct 2014 13:45:59 -0700 Subject: [PATCH] etcdctl: remove SetConsistency call This call to SetConsistency is explicitly setting the default value, so it's really unnecessary. --- etcdctl/command/exec_watch_command.go | 1 - 1 file changed, 1 deletion(-) diff --git a/etcdctl/command/exec_watch_command.go b/etcdctl/command/exec_watch_command.go index 0b071a010..848f6c17f 100644 --- a/etcdctl/command/exec_watch_command.go +++ b/etcdctl/command/exec_watch_command.go @@ -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 {