class Gitlab::QA::SystemLogs::SystemLogsFormatter
def create_log_summary_sections!(all_logs, sections)
def create_log_summary_sections!(all_logs, sections) sections.zip(all_logs) do |section, logs| unless logs.empty? section_title = "\n#### #{logs.first.name}" section.append(section_title) unless section.include?(section_title) section.append(create_log_summaries(logs)) end end end