Sha256: 4f9943540b4cb4f12aabe105c257b25a675ed6f1f1bf67d76f7462996b011efd
Contents?: true
Size: 461 Bytes
Versions: 35
Compression:
Stored size: 461 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.unscoped.find(input[:smart_proxy_id])) smart_proxy_service.delete_orphaned_repos end end end end end
Version data entries
35 entries across 35 versions & 1 rubygems