Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Allocation id update (#38242)
* updated calc to sort keys

* Update CHANGELOG.md

* Update _client_manager_base.py
  • Loading branch information
mrm9084 authored Oct 31, 2024
commit e994d82fbe11682b16666ecbfe6ad2373a94762d
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _generate_allocation_id(feature_flag_value: Dict[str, JSON]) -> Optional[str
allocation_id += f"{base64.b64encode(v.get('name', '').encode()).decode()},"
if "configuration_value" in v:
allocation_id += (
f"{json.dumps(v.get('configuration_value', ''), separators=(',', ':'), sort_keys=True)},"
f"{json.dumps(v.get('configuration_value', ''), separators=(',', ':'), sort_keys=True)}"
)
allocation_id += ";"
if sorted_variants:
Expand Down