Skip to content

Commit

Permalink
Update loc.go (#22657)
Browse files Browse the repository at this point in the history
Modify comment for readability.
  • Loading branch information
RickWinter authored Mar 29, 2024
1 parent 5c679be commit 40d2675
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 40d2675

Please sign in to comment.