class Dependabot::Clients::Azure
def retry_connection_failures(&blk) # rubocop:disable Lint/UnusedMethodArgument
def retry_connection_failures(&blk) # rubocop:disable Lint/UnusedMethodArgument retry_attempt = 0 begin yield rescue *RETRYABLE_ERRORS retry_attempt += 1 retry_attempt <= @max_retries ? retry : raise end end