Azure / Azure/azure-cli

Use Location Header instead of Latest to get Flex deployment update

Open
#29,721 9 comments 0 reactions 1 assignee Assigned to @tulikac View on GitHub
act-observability-squad App Services app-service-deployment customer-reported Service Attention Web Apps
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

https://github.com/Azure/azure-cli/blob/ad96375e3940108bb011e4efb51be0cd748af4a7/src/azure-cli/azure/cli/command_modules/appservice/custom.py#L737

The Location header in the response has the specific URI for the deployment ID, rather than using latest. This code might run into a race condition if two deployments happen at the same time.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.