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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-29 14:01:48 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-29 14:02:46 +0300
commit3bfc05be5ee5b0262857febf90fc7e1f17895d4e (patch)
tree5952d96a2b88cf55c774631d583a845307d3a932 /app/models/container_repository.rb
parent06bae00365cda6930063b98fde1a9b804f2ae3bc (diff)
Use container repository path inside auth service
Diffstat (limited to 'app/models/container_repository.rb')
-rw-r--r--app/models/container_repository.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/models/container_repository.rb b/app/models/container_repository.rb
index b128069ca0e..98acf49c939 100644
--- a/app/models/container_repository.rb
+++ b/app/models/container_repository.rb
@@ -58,11 +58,4 @@ class ContainerRepository < ActiveRecord::Base
client.delete_repository_tag(self.path, digest)
end
end
-
- # TODO, we will return a new ContainerRepository object here
- #
- def self.project_from_path(repository_path)
- ContainerRegistry::Path.new(repository_path)
- .repository_project
- end
end