Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants