diff --git a/lib/towerops/topology.ex b/lib/towerops/topology.ex index afdf1451..eb950100 100644 --- a/lib/towerops/topology.ex +++ b/lib/towerops/topology.ex @@ -936,15 +936,6 @@ defmodule Towerops.Topology do end end - # Deprecated: Auto-inference is disabled - # defp apply_inferred_role(device, role) when role == device.device_role, do: {:ok, device} - # - # defp apply_inferred_role(device, role) do - # device - # |> Ecto.Changeset.change(%{device_role: role}) - # |> Repo.update() - # end - defp vendor_match?(value, vendors), do: Enum.any?(vendors, &String.contains?(value, &1)) defp platform_match?(description, platforms), do: Enum.any?(platforms, &String.contains?(description, &1))