diff options
author | Giuseppe Lavagetto <lavagetto@gmail.com> | 2015-04-23 11:23:33 +0200 |
---|---|---|
committer | Giuseppe Lavagetto <lavagetto@gmail.com> | 2015-04-23 11:26:50 +0200 |
commit | 10103044e0fbd20195b0898181a7d5350e74ed87 (patch) | |
tree | a18b3b091cfff1430e4ecb909eca886e47783fc5 /src | |
parent | 363b6ad3656c555fbde0b7711a5afef68e5fbe44 (diff) |
Correct addition of recursive=true
Diffstat (limited to 'src')
-rw-r--r-- | src/etcd/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etcd/client.py b/src/etcd/client.py index b3c95f3..dc90190 100644 --- a/src/etcd/client.py +++ b/src/etcd/client.py @@ -506,7 +506,7 @@ class Client(object): """ local_index = index while True: - response = self.watch(key, index=local_index, timeout=0, recursive=True) + response = self.watch(key, index=local_index, timeout=0, recursive=recursive) if local_index is not None: local_index += 1 yield response |