app/lib/actions/pulp3/orchestration/repository/copy_all_units.rb in katello-3.15.3.1 vs app/lib/actions/pulp3/orchestration/repository/copy_all_units.rb in katello-3.16.0.rc1

- old
+ new

@@ -36,18 +36,18 @@ end end else plan_self(source_version_repo_id: source_repositories.first.id, target_repo_id: target_repo.id) - target_repo.update_attributes!(version_href: source_repositories.first.version_href) + target_repo.update!(version_href: source_repositories.first.version_href) end end def run #this is a 'simple' copy, so just reference version_href target_repo = ::Katello::Repository.find(input[:target_repo_id]) source_repo = ::Katello::Repository.find(input[:source_version_repo_id]) - target_repo.update_attributes!(version_href: source_repo.version_href) + target_repo.update!(version_href: source_repo.version_href) end end end end end