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.
2 parents 090fdb0 + 457b28c commit 1bb34a5Copy full SHA for 1bb34a5
src/operator/Synapse.Operator/Program.cs
@@ -30,7 +30,7 @@
30
services.Configure<OperatorOptions>(context.Configuration);
31
services.AddSingleton(provider =>
32
{
33
- var options = provider.GetRequiredService<IOptions<OperatorOptions>>().Value;
+ var options = provider.GetRequiredService<IOptionsMonitor<OperatorOptions>>().CurrentValue;
34
return Options.Create(options.Runner);
35
});
36
services.AddLogging(builder =>
0 commit comments