diff options
| author | Julien Danjou <julien@danjou.info> | 2016-11-10 15:23:17 +0100 |
|---|---|---|
| committer | Julien Danjou <julien@danjou.info> | 2016-11-24 10:25:52 +0100 |
| commit | da12883f2b6868188ba480082ead3ced230fc0b8 (patch) | |
| tree | 7e51c6e21f9b3e3a304116a12d7e84ca94802bcc /tooz/drivers/consul.py | |
| parent | 533341aebb994b8b5608efce3c8bbcf890d2ed74 (diff) | |
| download | tooz-da12883f2b6868188ba480082ead3ced230fc0b8.tar.gz | |
coordinator: add join_group_create
This adds a method implement the common pattern of joining a group and
creating it if it does not exist.
Change-Id: Ie46e7c1d07599a20bd8c24e28e5936b9f47a8bf4
Diffstat (limited to 'tooz/drivers/consul.py')
| -rw-r--r-- | tooz/drivers/consul.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tooz/drivers/consul.py b/tooz/drivers/consul.py index e06b55b..051c713 100644 --- a/tooz/drivers/consul.py +++ b/tooz/drivers/consul.py @@ -20,8 +20,8 @@ import consul from oslo_utils import encodeutils import tooz +from tooz import _retry from tooz import coordination -from tooz.drivers import _retry from tooz import locking from tooz import utils |
