etcd: fix blocking argument
The value should be passed, not only a boolean. No need for conversion. Change-Id: I73a8a1b377d9eb7e4a8b6433f0b09832756c7188
This commit is contained in:
parent
1a57bbcc24
commit
ae1e42274b
|
@ -72,8 +72,6 @@ class Etcd3Lock(locking.Lock):
|
|||
if shared:
|
||||
raise tooz.NotImplemented
|
||||
|
||||
blocking, timeout = utils.convert_blocking(blocking)
|
||||
|
||||
@_retry.retry(stop_max_delay=blocking)
|
||||
def _acquire():
|
||||
# TODO(jd): save the created revision so we can check it later to
|
||||
|
|
Loading…
Reference in New Issue