app/lib/actions/pulp3/repository/copy_content.rb in katello-3.16.0.rc2 vs app/lib/actions/pulp3/repository/copy_content.rb in katello-3.16.0.rc2.1
- old
+ new
@@ -9,9 +9,10 @@
end
def invoke_external_task
source = ::Katello::Repository.find(input[:source_repository_id])
target = ::Katello::Repository.find(input[:target_repository_id] || input[:target_repository])
+ output[:latest_version_href] = target.backend_service(smart_proxy).read.latest_version_href
output[:pulp_tasks] = target.backend_service(smart_proxy).copy_content_for_source(source, input)
end
end
end
end