File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -486,13 +486,13 @@ def _run_before_hooks_and_update_context(
486486 # Any resulting evaluation context from a before hook will overwrite
487487 # duplicate fields defined globally, on the client, or in the invocation.
488488 # Requirement 3.2.2, 4.3.4: API.context->client.context->invocation.context
489- invocation_context = before_hooks (
489+ before_hooks_context = before_hooks (
490490 flag_type , hook_context , merged_hooks , hook_hints
491491 )
492492
493493 # The hook_context.evaluation_context already contains the merged context from
494494 # _establish_hooks_and_provider, so we just need to merge with the before hooks result
495- merged_context = hook_context .evaluation_context .merge (invocation_context )
495+ merged_context = hook_context .evaluation_context .merge (before_hooks_context )
496496
497497 return merged_context
498498
You can’t perform that action at this time.
0 commit comments