Sha256: 58b9a4b93ee92d03a0522e9bd7856312b2b1cfa712f9106ac99b8a7708fabc1d

Contents?: true

Size: 457 Bytes

Versions: 84

Compression:

Stored size: 457 Bytes

Contents

module Actions
  module Candlepin
    module Environment
      class Destroy < Candlepin::Abstract
        input_format do
          params :cp_id
        end

        def run
          ::Katello::Resources::Candlepin::Environment.destroy(input['cp_id'])
        rescue ::Katello::Errors::CandlepinEnvironmentGone
          Rails.logger.info("Candlepin environment cp_id=#{input['cp_id']} was not found, continuing")
        end
      end
    end
  end
end

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
katello-4.16.0 app/lib/actions/candlepin/environment/destroy.rb
katello-4.15.1 app/lib/actions/candlepin/environment/destroy.rb
katello-4.16.0.rc2 app/lib/actions/candlepin/environment/destroy.rb
katello-4.16.0.rc1 app/lib/actions/candlepin/environment/destroy.rb
katello-4.14.3 app/lib/actions/candlepin/environment/destroy.rb
katello-4.14.2 app/lib/actions/candlepin/environment/destroy.rb
katello-4.15.0 app/lib/actions/candlepin/environment/destroy.rb
katello-4.15.0.rc2 app/lib/actions/candlepin/environment/destroy.rb
katello-4.15.0.rc1 app/lib/actions/candlepin/environment/destroy.rb
katello-4.14.1 app/lib/actions/candlepin/environment/destroy.rb
katello-4.14.0 app/lib/actions/candlepin/environment/destroy.rb
katello-4.14.0.rc3 app/lib/actions/candlepin/environment/destroy.rb
katello-4.14.0.rc2 app/lib/actions/candlepin/environment/destroy.rb
katello-4.14.0.rc1.1 app/lib/actions/candlepin/environment/destroy.rb
katello-4.14.0.rc1 app/lib/actions/candlepin/environment/destroy.rb
katello-4.13.1 app/lib/actions/candlepin/environment/destroy.rb
katello-4.13.0 app/lib/actions/candlepin/environment/destroy.rb
katello-4.12.1 app/lib/actions/candlepin/environment/destroy.rb
katello-4.13.0.rc1 app/lib/actions/candlepin/environment/destroy.rb
katello-4.12.0 app/lib/actions/candlepin/environment/destroy.rb