summaryrefslogtreecommitdiff
path: root/app/services/auth/container_registry_authentication_service.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-23 14:00:41 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-23 14:00:41 +0100
commit01d159b409d8b24d36204979a73de249843d71bf (patch)
tree8450df71c27dd6ebf1c48d779273502ac8fb4d15 /app/services/auth/container_registry_authentication_service.rb
parentbd8c8df6ed8dd7321608ce652e23d86ef3bd6899 (diff)
downloadgitlab-ce-01d159b409d8b24d36204979a73de249843d71bf.tar.gz
Rename container image model to container repository
Diffstat (limited to 'app/services/auth/container_registry_authentication_service.rb')
-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 2205b0897e2..3d151c6a357 100644
--- a/app/services/auth/container_registry_authentication_service.rb
+++ b/app/services/auth/container_registry_authentication_service.rb
@@ -62,7 +62,7 @@ module Auth
end
def process_repository_access(type, name, actions)
- requested_project = ContainerImage.project_from_path(name)
+ requested_project = ContainerRepository.project_from_path(name)
return unless requested_project