Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions samtranslator/feature_toggle/feature_toggle.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ def is_enabled(self, feature_name: str) -> bool:
"""
To check if feature is available


:param feature_name: name of feature
"""
# Check if feature is enabled for this stage, region, and account

if feature_name not in self.feature_config:
LOG.warning(f"Feature '{feature_name}' not available in Feature Toggle Config.")
return False
Expand Down