Skip to content

Commit be3bc4c

Browse files
committed
Fix spelling mistake
1 parent ae05f55 commit be3bc4c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/WebJobs.Script.WebHost/App_Start/WebHostResolver.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ internal void EnsureInitialized(WebHostSettings settings)
151151
{
152152
if (_standbyHostManager == null)
153153
{
154-
var standbySetings = CreateStandbySettings(settings);
155-
_standbyScriptHostConfig = CreateScriptHostConfiguration(standbySetings, true);
156-
_standbyHostManager = new WebScriptHostManager(_standbyScriptHostConfig, _secretManagerFactory, _eventManager, _settingsManager, standbySetings);
154+
var standbySettings = CreateStandbySettings(settings);
155+
_standbyScriptHostConfig = CreateScriptHostConfiguration(standbySettings, true);
156+
_standbyHostManager = new WebScriptHostManager(_standbyScriptHostConfig, _secretManagerFactory, _eventManager, _settingsManager, standbySettings);
157157
_standbyReceiverManager = new WebHookReceiverManager(_standbyHostManager.SecretManager);
158158

159159
InitializeFileSystem();

test/WebJobs.Script.Tests.Integration/Host/StandbyManagerTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ public async Task StandbyMode_EndToEnd()
124124

125125
await Task.Delay(2000);
126126

127-
// verify secrets directory
128-
129127
// verify logs
130128
string[] logLines = traceWriter.Traces.Select(p => p.Message).ToArray();
131129
Assert.Equal(2, logLines.Count(p => p.Contains("Host is in standby mode")));

0 commit comments

Comments
 (0)