File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 23
23
* Fixed ` Set-AzWebApp ` to set the AppSettings
24
24
* updated ` Set-AzWebAppSlot ` to set FtpsState
25
25
* Added support for StaticSites.
26
+ * fixed issue that defaults AlwaysOn to false in ` Set-AzWebAppSlot `
26
27
27
28
## Version 2.5.0
28
29
* Updated ` Add-AzWebAppAccessRestrictionRule ` to allow all supported Service Tags and validate against Service Tag API.
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ public override void ExecuteCmdlet()
181
181
parameters . Contains ( "Use32BitWorkerProcess" ) ? ( bool ? ) Use32BitWorkerProcess : null ,
182
182
AutoSwapSlotName = parameters . Contains ( "AutoSwapSlotName" ) ? AutoSwapSlotName : null ,
183
183
NumberOfWorkers = parameters . Contains ( "NumberOfWorkers" ) ? NumberOfWorkers : WebApp . SiteConfig . NumberOfWorkers ,
184
- AlwaysOn = parameters . Contains ( "AlwaysOn" ) ? ( bool ) AlwaysOn : false ,
184
+ AlwaysOn = parameters . Contains ( "AlwaysOn" ) ? ( bool ? ) AlwaysOn : null ,
185
185
FtpsState = parameters . Contains ( "FtpsState" ) ? FtpsState : WebApp . SiteConfig . FtpsState
186
186
} ;
187
187
}
You can’t perform that action at this time.
0 commit comments