app/lib/actions/pulp3/repository/copy_content.rb in katello-3.18.0.rc2.1 vs app/lib/actions/pulp3/repository/copy_content.rb in katello-3.18.0
- old
+ new
@@ -11,10 +11,10 @@
def invoke_external_task
source = ::Katello::Repository.find(input[:source_repository_id])
target = ::Katello::Repository.find(input[:target_repository_id] || input[:target_repository])
service = target.backend_service(smart_proxy)
output[:pulp_tasks] = if input[:copy_all]
- service.copy_all(source)
+ service.copy_all(source, mirror: input[:mirror] || false)
else
service.copy_content_for_source(source, input)
end
end
end