Fix Dialyzer unmatched return warning in trigger_check handler

- Explicitly discard return value from trigger_check call
- The return value is not needed for this fire-and-forget operation
- Resolves unmatched_return warning at line 58
This commit is contained in:
Graham McIntire 2026-01-03 12:43:05 -06:00
parent ba75c7313d
commit 5ae974d7aa
No known key found for this signature in database

View file

@ -55,7 +55,7 @@ defmodule ToweropsWeb.EquipmentLive.Show do
@impl true
def handle_event("trigger_check", _params, socket) do
Towerops.Monitoring.EquipmentMonitor.trigger_check(socket.assigns.equipment.id)
_ = Towerops.Monitoring.EquipmentMonitor.trigger_check(socket.assigns.equipment.id)
{:noreply, put_flash(socket, :info, "Check triggered")}
end
end