az webapp traffic-routing set restarts deployment slot
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Describe the bug
After deploying application to `staging` deployment slot I run command:
`az webapp traffic-routing set --resource-group $1 --name $2 --distribution staging=0`
It succedes but causes production slot restart. I can reproduce it from my machine.
This command is crucial to me because I need to access staging slot by using `?x-ms-routing-name=staging` param.
### Related command
`az webapp traffic-routing set --resource-group $1 --name $2 --distribution staging=0`
### Errors
Deployment slot: production restarts.
### Issue script & Debug output
[
{
"actionHostName": "xxxxxxxx.azurewebsites.net",
"changeDecisionCallbackUrl": null,
"changeIntervalInMinutes": null,
"changeStep": null,
"maxReroutePercentage": null,
"minReroutePercentage": null,
"name": "staging",
"reroutePercentage": 0.0
}
]
Deployment slot: production restarts.
### Expected behavior
This command should not cause deployments slots restarts.
### Environment Summary
azure-cli 2.47.0 *
core 2.47.0 *
telemetry 1.0.8 *
Extensions:
front-door 1.0.17
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.