Sha256: 8660af63655f4f9434a8700c99ff218b04afdcbd73b78c179e8e306000ee07ff

Contents?: true

Size: 381 Bytes

Versions: 51

Compression:

Stored size: 381 Bytes

Contents

module Actions
  module Katello
    module Repository
      class PurgeEmptyContent < Pulp::AbstractAsyncTask
        input_format do
          param :id, Integer
        end

        def invoke_external_task
          repo = ::Katello::Repository.find(input[:id])
          repo.backend_service(SmartProxy.pulp_master).purge_empty_contents
        end
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
katello-3.16.2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.1.2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.1.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.17.0.rc1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0.rc5.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0.rc5 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0.rc4.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.3.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.3 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0.rc4 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0.rc3.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0.rc3 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0.rc2.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0.rc2 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.1.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.16.0.rc1.1 app/lib/actions/katello/repository/purge_empty_content.rb
katello-3.15.1 app/lib/actions/katello/repository/purge_empty_content.rb