Skip to content

Commit

Permalink
style(smell): use discard for unused arg
Browse files Browse the repository at this point in the history
  • Loading branch information
skwasjer committed Nov 25, 2023
1 parent c77adc6 commit 2d536a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rebus.Correlate/CorrelateConfigurationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public static OptionsConfigurer EnableCorrelate(this OptionsConfigurer configure
// Singletons
var correlationIdFactory = new GuidCorrelationIdFactory();
var correlationContextAccessor = new CorrelationContextAccessor();
configurer.Register<ICorrelationIdFactory>(ctx => correlationIdFactory);
configurer.Register<ICorrelationContextAccessor>(ctx => correlationContextAccessor);
configurer.Register<ICorrelationIdFactory>(_=> correlationIdFactory);
configurer.Register<ICorrelationContextAccessor>(_ => correlationContextAccessor);

// Transient
configurer.Register<ICorrelationContextFactory>(ctx =>
Expand Down

0 comments on commit 2d536a7

Please sign in to comment.