Fix Dialyzer pattern match coverage warning

- Replace catch-all pattern with explicit :unknown status handling
- Makes status transitions more explicit and type-safe
- Resolves pattern_match_cov warning at line 174
This commit is contained in:
Graham McIntire 2026-01-03 12:40:32 -06:00
parent 287fd8064a
commit d345d7df30
No known key found for this signature in database

View file

@ -171,7 +171,8 @@ defmodule Towerops.Monitoring.EquipmentMonitor do
{:alert_resolved, equipment_id, :equipment_down}
)
_ ->
{_, :unknown} ->
# Status is unknown - no action needed
:ok
end
end