lib/topological_inventory/orchestrator/config_map.rb
# Maximum sources is set by config
Maximum sources is set by config
Maximum sources is set by config
def free_slot?
        current = sources_count
        max = source_type&.sources_per_collector || 1
        is_free = current < max
        logger.debug("ConfigMap #{self}: Free slot? (max: #{max}, current: #{current}): #{is_free ? 'T' : 'F'}")
        is_free
      end
def free_slot? current = sources_count max = source_type &. sources_per_collector || 1 is_free = current < max logger . debug ( "ConfigMap #{self}: Free slot? (max: #{max}, current: #{current}): #{is_free ? 'T' : 'F'}" ) is_free end
Maximum sources is set by config
Maximum sources is set by config