Azure / azure-sdk-for-go

This repository is for active development of the Azure SDK for Go. For consumers of the SDK we recommend visiting our public developer docs at:
https://docs.microsoft.com/azure/developer/go/
MIT License
1.56k stars 803 forks source link

Wrong Error Handling in Resource Manager for Resources Update Requests #22969

Open fortis-lt opened 1 month ago

fortis-lt commented 1 month ago

Bug Report

Packages:

SDK version

Requests made for a Cassandra cluster patch, as for other resources, receive back status code created, 201. The existing implementation of logic statuses handling doesn't include http.StatusCreated option. As a result, the update function returns an error, instead of a valid poller for further status monitoring.

github-actions[bot] commented 1 month ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.