diff options
Diffstat (limited to 'lib/container_registry/gitlab_api_client.rb')
-rw-r--r-- | lib/container_registry/gitlab_api_client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container_registry/gitlab_api_client.rb b/lib/container_registry/gitlab_api_client.rb index 0cd8f8509f6..c68b222af97 100644 --- a/lib/container_registry/gitlab_api_client.rb +++ b/lib/container_registry/gitlab_api_client.rb @@ -28,7 +28,7 @@ module ContainerRegistry end def self.deduplicated_size(path) - with_dummy_client(token_config: { type: :nested_repositories_token, path: path }) do |client| + with_dummy_client(token_config: { type: :nested_repositories_token, path: path&.downcase }) do |client| client.repository_details(path, sizing: :self_with_descendants)['size_bytes'] end end |