Sha256: a23b0018bca3fec3a35965480eb2272dc62ec338c8467b5921422efc3a991f10
Contents?: true
Size: 403 Bytes
Versions: 75
Compression:
Stored size: 403 Bytes
Contents
module Katello module Events class DeleteHostAgentQueue EVENT_TYPE = 'delete_host_agent_queue'.freeze attr_accessor :metadata def initialize(_host_id) yield(self) if block_given? end def run if metadata[:queue_name] Katello::Agent::Dispatcher.delete_client_queue(queue_name: metadata[:queue_name]) end end end end end
Version data entries
75 entries across 75 versions & 1 rubygems