app/lib/actions/pulp3/repository/refresh_distribution.rb in katello-4.7.6 vs app/lib/actions/pulp3/repository/refresh_distribution.rb in katello-4.8.0.rc1
- old
+ new
@@ -21,11 +21,10 @@
end
end
def invoke_external_task
repo = ::Katello::Repository.find(input[:repository_id])
- #used in switchover, need to assume pulp3
- repo.backend_service(smart_proxy, true).with_mirror_adapter.refresh_distributions
+ repo.backend_service(smart_proxy).with_mirror_adapter.refresh_distributions
end
end
end
end
end