From 9e36fcd5ed224293e3129f62530e4aecc8992273 Mon Sep 17 00:00:00 2001 From: Benjamin Petit Date: Fri, 17 May 2024 17:11:05 +0200 Subject: [PATCH] Fix streaming config validator registration (#8876) --- src/Orleans.Streaming/SiloPersistentStreamConfigurator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orleans.Streaming/SiloPersistentStreamConfigurator.cs b/src/Orleans.Streaming/SiloPersistentStreamConfigurator.cs index 1960fa6bc3..ea0e46a00b 100644 --- a/src/Orleans.Streaming/SiloPersistentStreamConfigurator.cs +++ b/src/Orleans.Streaming/SiloPersistentStreamConfigurator.cs @@ -73,7 +73,7 @@ public SiloPersistentStreamConfigurator(string name, Action s.GetRequiredKeyedService(n) as IControllable); this.ConfigureDelegate(services => services.AddSingleton(sp => PersistentStreamProvider.ParticipateIn(sp, this.Name))); this.ConfigureComponent(adapterFactory); - this.ConfigureComponent(PersistentStreamStorageConfigurationValidator.Create); + this.ConfigureDelegate(services => services.AddSingleton(sp => PersistentStreamStorageConfigurationValidator.Create(sp, this.Name))); } } }