Skip to content

Commit

Permalink
[App Service] Set-AzWebAppSlot defaults AlwaysOn to false [#15066] (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotasudhakarreddy authored May 24, 2021
1 parent 1338a9c commit 9842f2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Websites/Websites/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* Fixed `Set-AzWebApp` to set the AppSettings
* updated `Set-AzWebAppSlot` to set FtpsState
* Added support for StaticSites.
* fixed issue that defaults AlwaysOn to false in `Set-AzWebAppSlot`

## Version 2.5.0
* Updated `Add-AzWebAppAccessRestrictionRule` to allow all supported Service Tags and validate against Service Tag API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public override void ExecuteCmdlet()
parameters.Contains("Use32BitWorkerProcess") ? (bool?)Use32BitWorkerProcess : null,
AutoSwapSlotName = parameters.Contains("AutoSwapSlotName") ? AutoSwapSlotName : null,
NumberOfWorkers = parameters.Contains("NumberOfWorkers") ? NumberOfWorkers : WebApp.SiteConfig.NumberOfWorkers,
AlwaysOn = parameters.Contains("AlwaysOn") ? (bool)AlwaysOn : false,
AlwaysOn = parameters.Contains("AlwaysOn") ? (bool?)AlwaysOn : null,
FtpsState = parameters.Contains("FtpsState") ? FtpsState : WebApp.SiteConfig.FtpsState
};
}
Expand Down

0 comments on commit 9842f2a

Please sign in to comment.