From f264ce229ae64a25c0b4348f86c783826d542a38 Mon Sep 17 00:00:00 2001 From: Josh Larson Date: Fri, 17 Jan 2025 20:18:33 -0500 Subject: [PATCH] feedback: Rename `convert_gl_branches_to_sub_routes` to `convert_branches_to_sub_routes` --- lib/dotcom/system_status/groups.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dotcom/system_status/groups.ex b/lib/dotcom/system_status/groups.ex index 3ba4b3b49d..8da2de4d07 100644 --- a/lib/dotcom/system_status/groups.ex +++ b/lib/dotcom/system_status/groups.ex @@ -143,12 +143,12 @@ defmodule Dotcom.SystemStatus.Groups do green_line_entries |> Enum.group_by(& &1.statuses) |> Enum.to_list() - |> convert_gl_branches_to_sub_routes() + |> convert_branches_to_sub_routes() other_entries ++ consolidated_green_line_entries end - defp convert_gl_branches_to_sub_routes([{statuses, _}]) do + defp convert_branches_to_sub_routes([{statuses, _}]) do [ %{ route_id: "Green", @@ -158,7 +158,7 @@ defmodule Dotcom.SystemStatus.Groups do ] end - defp convert_gl_branches_to_sub_routes(entries) do + defp convert_branches_to_sub_routes(entries) do entries |> Enum.map(fn {statuses, routes} -> %{