From db7f7e38c6e33b5eedcb8fa17d236605cfe0b6ed Mon Sep 17 00:00:00 2001 From: Jack Tench Date: Wed, 21 Feb 2024 12:52:16 +0000 Subject: [PATCH] fix: remove duplicate DI registration of IClusterManagerAccessor --- src/KafkaFlow/Configuration/KafkaConfigurationBuilder.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/KafkaFlow/Configuration/KafkaConfigurationBuilder.cs b/src/KafkaFlow/Configuration/KafkaConfigurationBuilder.cs index c712f354c..1da24a062 100644 --- a/src/KafkaFlow/Configuration/KafkaConfigurationBuilder.cs +++ b/src/KafkaFlow/Configuration/KafkaConfigurationBuilder.cs @@ -49,7 +49,6 @@ public KafkaConfiguration Build() .AddSingleton() .AddScoped() .AddScoped(r => r.Resolve()) - .AddSingleton() .AddSingleton( r => {