Skip to content

Commit 33062a5

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

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

examples/webapp-management/02-WebAppSlot.sh

Lines changed: 2 additions & 7 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+
az webapp slot remove -g "$groupName" -n "$appName1" --slot "$slotname2" --force
175176

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
181-
182-
printf "\n25. Remove resource group: %s." "$groupName"
177+
printf "\n23. Remove resource group: %s." "$groupName"
183178
az group remove --name "$groupName" --force

0 commit comments

Comments
 (0)