diff options
author | Stan Hu <stanhu@gmail.com> | 2018-09-19 15:37:02 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-09-19 16:36:29 +0300 |
commit | 311beef242ae4fc3dd666542ca01938fb9d0e15d (patch) | |
tree | 4dcaf0d71384b5b0c856c74145d846a606be4f76 /app/models | |
parent | a1912ccc894386b112faba2932f1dd98c03aea0e (diff) |
Move registry destroy out of project transaction
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/container_repository.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/container_repository.rb b/app/models/container_repository.rb index 93ca3a5daf4..2c08a8e1acf 100644 --- a/app/models/container_repository.rb +++ b/app/models/container_repository.rb @@ -8,8 +8,6 @@ class ContainerRepository < ActiveRecord::Base delegate :client, to: :registry - before_destroy :delete_tags! - # rubocop: disable CodeReuse/ServiceClass def registry @registry ||= begin |