소스 검색

etcdctl: remove SetConsistency call

This call to SetConsistency is explicitly setting the default
value, so it's really unnecessary.
Brian Waldon 12 년 전
부모
커밋
d36a3e18d2
1개의 변경된 파일과 0개의 추가작업 그리고 1개의 파일을 삭제
  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.STRONG_CONSISTENCY)
 	go client.Watch(key, uint64(index), recursive, receiver, stop)
 
 	for {