Skip to content

Commit 2150430

Browse files
author
Hao Chen
committed
Updated webapp slot tests.
1 parent 0f43a00 commit 2150430

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

examples/webapp-management/02-WebAppSlot.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,7 @@ appWithSlotName3="$appName4/$slotname3"
172172
# Cleanup
173173
printf "\n22. Remove web app slot: %s." "$slotname1"
174174
az webapp slot remove -g "$groupName" -n "$appName1" --slot "$slotname1" --force
175-
176-
printf "\n23. Remove web app: %s." "$appName1"
177-
az webapp remove -g "$groupName" -n "$appName1" --force
178-
179-
printf "\n24. Remove app service plan: %s." "$planName1"
180-
az app service plan remove -g "$groupName" -n "$planName1" --force
175+
az webapp slot remove -g "$groupName" -n "$appName1" --slot "$slotname2" --force
181176

182177
printf "\n25. Remove resource group: %s." "$groupName"
183178
az group remove --name "$groupName" --force

0 commit comments

Comments
 (0)