Skip to content

Fix GitHub client requests when rate limit is disabled

Douglas Barbosa Alexandre requested to merge fix-gh-rate-limit into master

What does this MR do?

GitHub Rate Limit API returns 404 when the rate limit is disabled. In this case we just want to return gracefully instead of spitting out an error.

Are there points in the code the reviewer needs to double check?

No.

Why was this MR needed?

GitHub importer fails when rate limit is disabled in GitHub Enterprise.

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/697

Does this MR meet the acceptance criteria?

Merge request reports