Skip to content

Commit

Permalink
Fix spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewc committed Nov 9, 2017
1 parent ae05f55 commit be3bc4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/WebJobs.Script.WebHost/App_Start/WebHostResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ internal void EnsureInitialized(WebHostSettings settings)
{
if (_standbyHostManager == null)
{
var standbySetings = CreateStandbySettings(settings);
_standbyScriptHostConfig = CreateScriptHostConfiguration(standbySetings, true);
_standbyHostManager = new WebScriptHostManager(_standbyScriptHostConfig, _secretManagerFactory, _eventManager, _settingsManager, standbySetings);
var standbySettings = CreateStandbySettings(settings);
_standbyScriptHostConfig = CreateScriptHostConfiguration(standbySettings, true);
_standbyHostManager = new WebScriptHostManager(_standbyScriptHostConfig, _secretManagerFactory, _eventManager, _settingsManager, standbySettings);
_standbyReceiverManager = new WebHookReceiverManager(_standbyHostManager.SecretManager);

InitializeFileSystem();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ public async Task StandbyMode_EndToEnd()

await Task.Delay(2000);

// verify secrets directory

// verify logs
string[] logLines = traceWriter.Traces.Select(p => p.Message).ToArray();
Assert.Equal(2, logLines.Count(p => p.Contains("Host is in standby mode")));
Expand Down

0 comments on commit be3bc4c

Please sign in to comment.