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.
The
ContainerRegistrySize
field is missing from theStatistics
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 forContainerRegistrySize
when fetching groups, which is not optimal. However, we already always return the null value for thecommit_count
field in theStatistics
struct when fetching groups, as we use the sameStatistics
struct for project and group data.