Sfoglia il codice sorgente

Merge pull request #1511 from coreos/set-watch-consistency-to-strong

etcdctl: Set watch consistency to STRONG
Brian Waldon 11 anni fa
parent
commit
64a12e9341
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      etcdctl/command/exec_watch_command.go

+ 0 - 1
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.WEAK_CONSISTENCY)
 	go client.Watch(key, uint64(index), recursive, receiver, stop)
 
 	for {