Skip to content

Commit c639c38

Browse files
authored
Merge pull request #22 from hellohaptik/parvez301-patch-1
Replace variables
2 parents aa28cb5 + f1cdc0e commit c639c38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

unleash-client-python/FeatureToggle/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,7 @@ def fetch_feature_toggles():
333333

334334
if cas_name == FeatureToggles.__cas_name and environment == FeatureToggles.__environment:
335335
# Strip CAS and ENV name from feature name
336-
active_cas_env_name = f'{FeatureToggles.__cas_name}.'
337-
f'{FeatureToggles.__environment}.'
336+
active_cas_env_name = f'{cas_name}.{environment}.'
338337
full_feature_name = full_feature_name.replace(active_cas_env_name, '')
339338
if full_feature_name not in response:
340339
response[full_feature_name] = {}

0 commit comments

Comments
 (0)