fix: fixed CSM-004

This commit is contained in:
2026-05-08 19:52:59 +02:00
parent 723b8c6433
commit 9944b70ab1
4 changed files with 56 additions and 19 deletions

View File

@@ -65,8 +65,7 @@ defmodule BDS.Scripting.JobStore do
end
def handle_call({:detach_runner, job_id}, _from, state) do
next_state = update_in(state.runners, &Map.delete(&1, job_id))
{:reply, :ok, %{state | runners: next_state}}
{:reply, :ok, %{state | runners: Map.delete(state.runners, job_id)}}
end
def handle_call({:fetch_job, job_id}, _from, state) do