Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ContainerRegistrySize field to Statistics struct #1978

Merged

Conversation

Florian3535
Copy link

The ContainerRegistrySize field is missing from the Statistics struct.

The public GitLab API returns the container_registry_size field for project data. E.g. https://docs.gitlab.com/ee/api/projects.html#list-user-projects.

The public GitLab API does not return the container_registry_size field for group data. Thus, this change would cause that we always return the null value for ContainerRegistrySize when fetching groups, which is not optimal. However, we already always return the null value for the commit_count field in the Statistics struct when fetching groups, as we use the same Statistics struct for project and group data.

Copy link
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Florian3535 👍🏻

@svanharmelen svanharmelen merged commit 3ba94c8 into xanzy:main Aug 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants