Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/container_registry/gitlab_api_client.rb')
-rw-r--r--lib/container_registry/gitlab_api_client.rb2
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