Sha256: 7bf2a48f389c152c532f390c44120ecb992120ac6925bec97425900bb9625d48
Contents?: true
Size: 387 Bytes
Versions: 209
Compression:
Stored size: 387 Bytes
Contents
module Katello module Events class ImportPool EVENT_TYPE = 'import_pool'.freeze def initialize(pool_id) @pool = ::Katello::Pool.find_by(:id => pool_id) end def run @pool.try(:import_data) rescue RestClient::ResourceNotFound Rails.logger.warn "skipped re-index of non-existent pool #{@pool.cp_id}" end end end end
Version data entries
209 entries across 209 versions & 1 rubygems