Skip to content

Commit 40d2675

Browse files
authored
Update loc.go (#22657)
Modify comment for readability.
1 parent 5c679be commit 40d2675

File tree

1 file changed

+2
-2
lines changed
  • sdk/azcore/internal/pollers/loc

1 file changed

+2
-2
lines changed

sdk/azcore/internal/pollers/loc/loc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ func (p *Poller[T]) Poll(ctx context.Context) (*http.Response, error) {
104104
// any 2xx other than a 202 indicates success
105105
p.CurState = poller.StatusSucceeded
106106
} else if resp.StatusCode == http.StatusTooManyRequests {
107-
// the request is being throttled. we DO NOT want to
108-
// include this as terminal failure so preserve the
107+
// the request is being throttled. DO NOT include
108+
// this as a terminal failure. preserve the
109109
// existing state and return the response.
110110
} else {
111111
p.CurState = poller.StatusFailed

0 commit comments

Comments
 (0)