Sha256: 9967be58da361920fc5202079376d304ea5732361dbc2d06de70fc7532dbea71
Contents?: true
Size: 456 Bytes
Versions: 14
Compression:
Stored size: 456 Bytes
Contents
module Actions module Katello module CapsuleContent 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
14 entries across 14 versions & 1 rubygems