diff --git a/FeatureToggle/__init__.py b/FeatureToggle/__init__.py index c612743..9750adf 100644 --- a/FeatureToggle/__init__.py +++ b/FeatureToggle/__init__.py @@ -235,6 +235,8 @@ def fetch_feature_toggles(): try: if feature_toggles: for feature_toggle in feature_toggles: + if not feature_toggle.get('enabled', False): + continue full_feature_name = feature_toggle['name'] # split the feature and get compare the cas and environment name feature = full_feature_name.split('.')