Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/azcore/internal/pollers/loc/loc.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ func (p *Poller[T]) Poll(ctx context.Context) (*http.Response, error) {
// any 2xx other than a 202 indicates success
p.CurState = poller.StatusSucceeded
} else if resp.StatusCode == http.StatusTooManyRequests {
// the request is being throttled. we DO NOT want to
// include this as terminal failure so preserve the
// the request is being throttled. DO NOT include
// this as a terminal failure. preserve the
// existing state and return the response.
} else {
p.CurState = poller.StatusFailed
Expand Down