app/lib/actions/pulp3/orchestration/repository/copy_all_units.rb in katello-3.16.0.rc5.1 vs app/lib/actions/pulp3/orchestration/repository/copy_all_units.rb in katello-3.16.0
- old
+ new
@@ -19,11 +19,10 @@
plan_action(Actions::Pulp3::Repository::SaveVersion, target_repo,
repository_details: { latest_version_href: copy_action.output[:latest_version_href] }, tasks: copy_action.output[:pulp_tasks])
else
#if we are not filtering, copy the version to the cv repository, and the units for each additional repo
action = plan_action(Actions::Pulp3::Repository::CopyVersion, source_repositories.first, smart_proxy, target_repo)
- plan_action(Actions::Pulp3::Repository::SaveVersion, target_repo,
- repository_details: { latest_version_href: action.output[:latest_version_output] }, tasks: action.output[:pulp_tasks])
+ plan_action(Actions::Pulp3::Repository::SaveVersion, target_repo, tasks: action.output[:pulp_tasks])
copy_actions = []
#since we're creating a new version from the first repo, start copying at the 2nd
source_repositories[1..-1].each do |source_repo|
copy_actions << plan_action(Actions::Pulp3::Repository::CopyContent, source_repo, smart_proxy, target_repo,
filter_ids: filter_ids, solve_dependencies: solve_dependencies,