Skip to content

Commit 5db73c2

Browse files
Update aws_lambda_powertools/utilities/feature_flags/feature_flags.py
Co-authored-by: Heitor Lessa <heitor.lessa@hotmail.com>
1 parent 8b8b8b3 commit 5db73c2

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,8 +66,8 @@ def _evaluate_conditions(
6666

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

7272
if not self._match_by_action(
7373
action=condition_action, condition_value=condition_value, context_value=context_value

0 commit comments

Comments
 (0)