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