Skip to content

Commit

Permalink
fix: reverse the merged before hooks (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarrio authored Jan 4, 2023
1 parent 643d9fa commit 3a33551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_feature/open_feature_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def evaluate_flag_details(
)
# after, error, finally: Provider, Invocation, Client, API
reversed_merged_hooks = merged_hooks[:]
reversed_merged_hooks.sort()
reversed_merged_hooks.reverse()

try:
# https://github.com/open-feature/spec/blob/main/specification/sections/03-evaluation-context.md
Expand Down

0 comments on commit 3a33551

Please sign in to comment.