diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-29 14:01:48 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-29 14:02:46 +0300 |
commit | 3bfc05be5ee5b0262857febf90fc7e1f17895d4e (patch) | |
tree | 5952d96a2b88cf55c774631d583a845307d3a932 /app/models | |
parent | 06bae00365cda6930063b98fde1a9b804f2ae3bc (diff) |
Use container repository path inside auth service
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/container_repository.rb | 7 |
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 |