app/models/manageiq/providers/kubernetes/inventory/collector/container_manager/watch_notice.rb
# Pull the object out of the notices and populate the normal collections
# so that the Parser::ContainerManager can be used normally
Pull the object out of the notices and populate the normal collections
so that the Parser::ContainerManager can be used normally
Pull the object out of the notices and populate the normal collections so that the Parser :: ContainerManager can be used normally
def populate_collections!
    notices.reject { |n| n.type == "DELETED" }.each do |notice|
      instance_variable_get("@#{notice.object.kind.tableize}") << notice.object
    end
  end
def populate_collections! notices . reject { | n | n . type == "DELETED" } . each do | notice | instance_variable_get ( "@#{notice.object.kind.tableize}" ) << notice . object end end
Pull the object out of the notices and populate the normal collections
so that the Parser::ContainerManager can be used normally
Pull the object out of the notices and populate the normal collections so that the Parser :: ContainerManager can be used normally
# Only add ADDED/MODIFIED to the collectors so deleted objects will be removed