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 1632865 commit 080a9e1Copy full SHA for 080a9e1
src/KubeOps/Operator/Builder/OperatorBuilder.cs
@@ -162,10 +162,8 @@ internal IOperatorBuilder AddOperatorBase(OperatorSettings settings)
162
// Register event handler
163
Services.AddTransient<IEventManager, EventManager>();
164
165
- // Add the service provider (for instantiation)
166
- // and all found controller types.
+ // Add all found controller types.
167
Services.AddHostedService<ResourceControllerManager>();
168
- Services.TryAddSingleton(sp => sp);
169
foreach (var (controllerType, _) in _resourceLocator.ControllerTypes)
170
{
171
Services.TryAddScoped(controllerType);
0 commit comments