Skip to content

Commit

Permalink
Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeDupuis committed Sep 10, 2024
1 parent 9d9bbba commit 705b0ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/azure_blob/identity_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def refresh
@expiration = Time.at(response["expires_on"].to_i)
end


def should_retry?(error, attempt)
is_500 = error.status/500 == 1
(is_500 || [ 404, 408, 410, 429 ].include?(error.status)) && attempt < 5
Expand Down

0 comments on commit 705b0ce

Please sign in to comment.