Skip to content

Commit b37127e

Browse files
committed
fix tooz get_coordinator usage in pants-plugins/uses_services
1 parent d31e318 commit b37127e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pants-plugins/uses_services/scripts/is_redis_running.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def _is_redis_running(coord_url: str) -> bool:
2727
# late import so that __file__ can be imported in the pants plugin without these imports
2828
from tooz import ToozError, coordination
2929

30-
coordinator = coordination.get_coordinator(coord_url)
30+
member_id = "pants-uses_services-redis"
31+
coordinator = coordination.get_coordinator(coord_url, member_id)
3132
try:
3233
coordinator.start(start_heart=False)
3334
except ToozError:

0 commit comments

Comments
 (0)