Skip to content

Commit 8fa11f5

Browse files
author
Ran Isenberg
committed
fix rename
1 parent 8246b2e commit 8fa11f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws_lambda_powertools/utilities/feature_flags/feature_flags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ def _evaluate_conditions(
6666

6767
for condition in conditions:
6868
context_value = context.get(str(condition.get(schema.CONDITION_KEY)))
69-
cond_value = condition.get(schema.CONDITION_ACTION, "")
69+
cond_action = condition.get(schema.CONDITION_ACTION, "")
7070
cond_value = condition.get(schema.CONDITION_VALUE)
7171

72-
if not self._match_by_action(action=cond_value, condition_value=cond_value, context_value=context_value):
72+
if not self._match_by_action(action=cond_action, condition_value=cond_value, context_value=context_value):
7373
logger.debug(
7474
f"rule did not match action, rule_name={rule_name}, rule_value={rule_match_value}, "
7575
f"name={feature_name}, context_value={str(context_value)} "

0 commit comments

Comments
 (0)