diff --git a/lib/azure_blob/identity_token.rb b/lib/azure_blob/identity_token.rb index 44d2523..0c00dae 100644 --- a/lib/azure_blob/identity_token.rb +++ b/lib/azure_blob/identity_token.rb @@ -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