Sha256: ee773bcc7abccb468e9e778a5b48dde85974c0cf1be653af5579099b8d1d6c56
Contents?: true
Size: 452 Bytes
Versions: 80
Compression:
Stored size: 452 Bytes
Contents
module Actions module Pulp module OrphanCleanup class RemoveUnneededRepos < Pulp::AbstractAsyncTask def plan(smart_proxy) plan_self(:smart_proxy_id => smart_proxy.id) end def invoke_external_task smart_proxy_service = ::Katello::Pulp::SmartProxyRepository.new(::SmartProxy.find(input[:smart_proxy_id])) smart_proxy_service.delete_orphaned_repos end end end end end
Version data entries
80 entries across 80 versions & 1 rubygems