Skip to content

Commit

Permalink
Fix registration of HTTP message handler (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdolek authored Sep 4, 2020
1 parent fbd00d8 commit 58f916d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static ICorrelatorBuilder AddCorrelator(
$"Configure at least one correlation HTTP header, see property: {nameof(CorrelatorOptions.ReadFrom)}");
#endif

services.AddTransient<CorrelatorHttpMessageHandler>()
services
.AddSingleton<CorrelationContextContainer>()
.AddSingleton<ICorrelationContextAccessor>(
sp => sp.GetRequiredService<CorrelationContextContainer>())
Expand Down

0 comments on commit 58f916d

Please sign in to comment.