#757: small refactoring
This commit is contained in:
parent
3f7b38ad11
commit
484f1bc95b
|
@ -493,8 +493,7 @@ class BuildList < ActiveRecord::Base
|
|||
|
||||
def prepare_extra_repositories_and_containers
|
||||
if save_to_repository && save_to_repository.platform.main?
|
||||
self.extra_repositories = nil
|
||||
self.extra_containers = nil
|
||||
self.extra_repositories = self.extra_containers = nil
|
||||
end
|
||||
self.extra_repositories = extra_repositories.uniq if extra_repositories.present?
|
||||
self.extra_containers = extra_containers.uniq if extra_containers.present?
|
||||
|
|
Loading…
Reference in New Issue