Skip to content

Commit

Permalink
add reset on failure counter
Browse files Browse the repository at this point in the history
  • Loading branch information
jackofallops committed Oct 25, 2024
1 parent 99247a8 commit 6b80cbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/client/resourcemanager/poller_provisioning_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ func (p *provisioningStatePoller) Poll(ctx context.Context) (*pollers.PollResult

return nil, fmt.Errorf("executing request: %+v", err)
}

p.droppedConnectionCount = 0

if resp == nil {
return nil, pollers.PollingDroppedConnectionError{}
}
Expand Down

0 comments on commit 6b80cbf

Please sign in to comment.