Skip to content

Commit 54013b8

Browse files
dingmeng-xueJoshTheTechWriter
authored andcommitted
fix variable name
1 parent a2a7ddf commit 54013b8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/spring-apps/migration/migrate-to-azure-container-apps-blue-green.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,22 @@ Use the following commands to test with the label-specific fully qualified domai
9494

9595
```azurecli
9696
# Get the containerapp environment default domain
97-
export APP_DOMAIN=$(az containerapp env show \
97+
export APP_NAME=<app-name>
98+
99+
export APP_ENV_DOMAIN=$(az containerapp env show \
98100
--resource-group <resource-group> \
99101
--name <app-environment-name> \
100102
--query "properties.defaultDomain" \
101103
--output tsv)
102104
103105
# Test the production FQDN
104-
curl -s https://$APP_NAME.$APP_DOMAIN
106+
curl -s https://$APP_NAME.$APP_ENV_DOMAIN
105107
106108
# Test the blue label FQDN
107-
curl -s https://$APP_NAME---blue.$APP_DOMAIN
109+
curl -s https://$APP_NAME---blue.$APP_ENV_DOMAIN
108110
109111
# Test the green label FQDN
110-
curl -s https://$APP_NAME---green.$APP_DOMAIN
112+
curl -s https://$APP_NAME---green.$APP_ENV_DOMAIN
111113
```
112114

113115
## Send production traffic to the green revision

0 commit comments

Comments
 (0)