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:
parent
287fd8064a
commit
d345d7df30
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue