Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Sep 18, 2024
1 parent f772e71 commit 4e6b84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion st2common/st2common/policies/concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def __init__(self, policy_ref, policy_type, threshold=0, action="delay"):
self.threshold = threshold
self.policy_action = action

raise ValueError(f"ST2TESTS_REDIS_HOST={os.environ.get('ST2TESTS_REDIS_HOST')} url={cfg.CONF.coordination.url}")
self.coordinator = coordination.get_coordinator(start_heart=True)
raise ValueError(f"ST2TESTS_REDIS_HOST={os.environ.get('ST2TESTS_REDIS_HOST')} url={cfg.CONF.coordination.url} coordinator={self.coordinator}")

def _get_status_for_policy_action(self, action):
if action == "delay":
Expand Down

0 comments on commit 4e6b84b

Please sign in to comment.