Sha256: 73f8191fdebe069a6d2484a3f2551caa866d112c62484c1021ce4a67ab9cc7c3

Contents?: true

Size: 451 Bytes

Versions: 4

Compression:

Stored size: 451 Bytes

Contents

module Actions
  module Pulp3
    module OrphanCleanup
      class RemoveUnneededRepos < Pulp3::AbstractAsyncTask
        def plan(smart_proxy)
          plan_self(:smart_proxy_id => smart_proxy.id)
        end

        def invoke_external_task
          smart_proxy_service = ::Katello::Pulp3::SmartProxyRepository.new(smart_proxy)
          smart_proxy_service.delete_orphaned_repositories_for_mirror_proxies
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katello-3.14.1 app/lib/actions/pulp3/orphan_cleanup/remove_unneeded_repos.rb
katello-3.14.0 app/lib/actions/pulp3/orphan_cleanup/remove_unneeded_repos.rb
katello-3.14.0.rc2 app/lib/actions/pulp3/orphan_cleanup/remove_unneeded_repos.rb
katello-3.14.0.rc1 app/lib/actions/pulp3/orphan_cleanup/remove_unneeded_repos.rb