Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ReadMe to add a commit to test the FeatureToggles release pipeline #31

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ FeatureToggles.initialize(
# To check if feature is enabled for domain
FeatureToggles.is_enabled_for_domain(<feature-name>, <domain_name>)

# Check if certainfeature is enabled for partner
# Check if certain feature is enabled for partner
FeatureToggles.is_enabled_for_partner(<feature-name>, <partner_name>)

# Check if certain feature is enabled for business
Expand Down
6 changes: 4 additions & 2 deletions UnleashClient/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ def _create_strategies(provisioning: dict,
strategy_mapping[strategy['name']](constraints=constraint_provisioning, parameters=strategy_provisioning)
)
except Exception as excep:
LOGGER.warning("Failed to load strategy. This may be a problem with a custom strategy. Exception: %s",
excep)
LOGGER.warning("Failed to load strategy. This may be a problem with a custom strategy. "
"Exception: {}, Provisioning : {}, Strategy Mapping: {}".format(excep,
provisioning,
strategy_mapping))

return feature_strategies

Expand Down