We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e73c348 commit d221b6cCopy full SHA for d221b6c
src/KubeOps/Operator/Builder/OperatorBuilder.cs
@@ -202,8 +202,8 @@ internal IOperatorBuilder AddOperatorBase(OperatorSettings settings)
202
Services.AddScoped<IKubernetesClient, KubernetesClient>();
203
Services.AddScoped<IEventManager, EventManager>();
204
205
- Services.AddScoped(typeof(ResourceCache<>));
206
- Services.AddScoped(typeof(ResourceWatcher<>));
+ Services.AddScoped(typeof(IResourceCache<>), typeof(ResourceCache<>));
+ Services.AddScoped(typeof(IResourceWatcher<>), typeof(ResourceWatcher<>));
207
Services.AddScoped(typeof(IEventQueue<>), typeof(EventQueue<>));
208
209
// Support all the metrics
0 commit comments