Skip to content

getRateLimit() fails for GitHub Enterprise #78

@alexwhitman

Description

@alexwhitman

getRateLimit() at https://github.com/kohsuke/github-api/blob/master/src/main/java/org/kohsuke/github/GitHub.java#L228 fails for GitHub Enterprise with a 404 status code, body of

{
  "message": "No rate limit for white listed users"
}

GitHub Enterprise users are considered white listed and so don't have rate limits.

See also janinko/ghprb#127

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions