Skip to content

Commit d9fe499

Browse files
authored
refactor(feature-flags): add debug for all features evaluation" (aws-powertools#590)
* chore: add missing debugging log for all feats * revert: autolabeler for release-drafter PR title
1 parent f0a852a commit d9fe499

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

.github/release-drafter.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,3 @@ template: |
3939
## This release was made possible by the following contributors:
4040
4141
$CONTRIBUTORS
42-
43-
autolabeler:
44-
- label: 'documentation'
45-
title:
46-
- '/docs.+/i'
47-
- label: 'bug'
48-
title:
49-
- '/fix/i'
50-
- label: 'feature'
51-
title:
52-
- '/feat.+/i'
53-
- '/refactor.+/i'
54-
- label: 'internal'
55-
title:
56-
- '/chore.+/i'

aws_lambda_powertools/utilities/feature_flags/feature_flags.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ def get_enabled_features(self, *, context: Optional[Dict[str, Any]] = None) -> L
237237
logger.debug(f"Failed to fetch feature flags from store, returning empty list, reason={err}")
238238
return features_enabled
239239

240+
logger.debug("Evaluating all features")
240241
for name, feature in features.items():
241242
rules = feature.get(schema.RULES_KEY, {})
242243
feature_default_value = feature.get(schema.FEATURE_DEFAULT_VAL_KEY)

0 commit comments

Comments
 (0)