File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/WebJobs.Script.WebHost/Diagnostics/HealthChecks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
namespace Microsoft . Azure . WebJobs . Script . WebHost . Diagnostics . HealthChecks
11
11
{
12
- public class HealthCheckWaitMiddleware ( RequestDelegate next , IScriptHostManager manager )
12
+ public sealed class HealthCheckWaitMiddleware ( RequestDelegate next , IScriptHostManager manager )
13
13
{
14
14
private readonly RequestDelegate _next = next ?? throw new ArgumentNullException ( nameof ( next ) ) ;
15
15
private readonly IScriptHostManager _manager = manager ?? throw new ArgumentNullException ( nameof ( manager ) ) ;
16
16
17
17
public async Task InvokeAsync ( HttpContext context )
18
18
{
19
- ArgumentNullException . ThrowIfNull ( next ) ;
19
+ ArgumentNullException . ThrowIfNull ( context ) ;
20
20
21
21
// If specified, the ?wait={seconds} query param will wait for an
22
22
// active script host for that duration. This is to avoid excessive polling
You can’t perform that action at this time.
0 commit comments