app/models/manageiq/providers/base_manager/event_catcher/runner.rb
# Called when there is any change in BlacklistedEvent
Called when there is any change in BlacklistedEvent
Called when there is any change in BlacklistedEvent
def sync_blacklisted_events
    return unless @ems
    filters = @ems.blacklisted_event_names
    if @filtered_events.nil? || @filtered_events != filters
      adds    = filters - @filtered_events
      deletes = @filtered_events - filters
      @filtered_events = filters
      _log.info("Synchronizing blacklisted events: #{filters}")
      _log.info("   Blacklisted events added: #{adds}")
      _log.info("   Blacklisted events deleted: #{deletes}")
    end
  end
def sync_blacklisted_events return unless @ems filters = @ems . blacklisted_event_names if @filtered_events . nil? || @filtered_events != filters adds = filters - @filtered_events deletes = @filtered_events - filters @filtered_events = filters _log . info ( "Synchronizing blacklisted events: #{filters}" ) _log . info ( "   Blacklisted events added: #{adds}" ) _log . info ( "   Blacklisted events deleted: #{deletes}" ) end end
Called when there is any change in BlacklistedEvent
Called when there is any change in BlacklistedEvent