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:
authorAndre Guedes <andrebsguedes@gmail.com>2017-03-21 16:35:02 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-21 16:43:49 +0300
commitc64d36306cafac463f20d49e750f397a9b32960b (patch)
tree6b9bbf492746219c17f4a7fee6e8dcdc5b58df38 /app/services/auth
parentc5912ecd73560b730eda625c77d900ca23ab16d5 (diff)
Makes ContainerImages Routable
Conflicts: db/schema.rb
Diffstat (limited to 'app/services/auth')
-rw-r--r--app/services/auth/container_registry_authentication_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/auth/container_registry_authentication_service.rb b/app/services/auth/container_registry_authentication_service.rb
index 08fe6e3293e..a3c8d77bf09 100644
--- a/app/services/auth/container_registry_authentication_service.rb
+++ b/app/services/auth/container_registry_authentication_service.rb
@@ -66,7 +66,7 @@ module Auth
# per image authentication.
# Removes only last occurence in light
# of future nested groups
- namespace, _ = ContainerImage::split_namespace(name)
+ namespace, a = ContainerImage::split_namespace(name)
requested_project = Project.find_by_full_path(namespace)
return unless requested_project