projectkudu / kudu

Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.
Apache License 2.0
3.12k stars 652 forks source link

Fix issue delete site extension by name #3445

Closed kaibocai closed 1 year ago

kaibocai commented 1 year ago

When cx run the Delete Site Extension API by providing the site extension name as siteExtensionId, there could be chance that for some thrid-parties site extension their name and id are different, which cause the Delete Site Extension API to fail. Update the code logics so that customer can run Delete Site Extension API by providing site extension name or site extension id as value of siteExtensionId.

Update for both v1 and v2.

Tested private build of both happy and sad path, works as expect.

suwatch commented 1 year ago

Please rebase/squash to one commit and let me know.

kaibocai commented 1 year ago

Please rebase/squash to one commit and let me know.

done