diff options
-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 |