Skip to content

Commit

Permalink
refactor(feature-flags): add debug for all features evaluation" (aws-…
Browse files Browse the repository at this point in the history
…powertools#590)

* chore: add missing debugging log for all feats

* revert: autolabeler for release-drafter PR title
  • Loading branch information
heitorlessa authored Aug 5, 2021
1 parent f0a852a commit d9fe499
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
15 changes: 0 additions & 15 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,3 @@ template: |
## This release was made possible by the following contributors:
$CONTRIBUTORS
autolabeler:
- label: 'documentation'
title:
- '/docs.+/i'
- label: 'bug'
title:
- '/fix/i'
- label: 'feature'
title:
- '/feat.+/i'
- '/refactor.+/i'
- label: 'internal'
title:
- '/chore.+/i'
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def get_enabled_features(self, *, context: Optional[Dict[str, Any]] = None) -> L
logger.debug(f"Failed to fetch feature flags from store, returning empty list, reason={err}")
return features_enabled

logger.debug("Evaluating all features")
for name, feature in features.items():
rules = feature.get(schema.RULES_KEY, {})
feature_default_value = feature.get(schema.FEATURE_DEFAULT_VAL_KEY)
Expand Down

0 comments on commit d9fe499

Please sign in to comment.