Skip to content

Commit e598e0f

Browse files
committed
Updaing md files
1 parent 6950697 commit e598e0f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/ResourceManager/Websites/Commands.Websites/Cmdlets/WebApps/SetAzureWebApp.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public override void ExecuteCmdlet()
150150
Location = location,
151151
ServerFarmId = WebApp.ServerFarmId,
152152
Identity = parameters.Contains("AssignIdentity") ? new ManagedServiceIdentity("SystemAssigned", null, null) : WebApp.Identity,
153-
HttpsOnly = parameters.Contains("HttpsOnly") ? (bool?)HttpsOnly : false
153+
HttpsOnly = parameters.Contains("HttpsOnly")
154154
};
155155

156156
if (parameters.Contains("AssignIdentity"))

src/ResourceManager/Websites/Commands.Websites/help/Set-AzureRmWebApp.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ Accept wildcard characters: False
9393
```
9494
9595
### -AssignIdentity
96-
Enable MSI on an existing azure webapp or functionapp```yaml
96+
Enable MSI on an existing azure webapp or functionapp
97+
98+
```yaml
9799
Type: SwitchParameter
98100
Parameter Sets: S1
99101
Aliases:
@@ -226,7 +228,9 @@ Accept wildcard characters: False
226228
```
227229
228230
### -HttpsOnly
229-
Enable/disable redirecting all traffic to HTTPS on an existing azure webapp or functionapp```yaml
231+
Enable/disable redirecting all traffic to HTTPS on an existing azure webapp or functionapp
232+
233+
```yaml
230234
Type: SwitchParameter
231235
Parameter Sets: S1
232236
Aliases:

0 commit comments

Comments
 (0)