Possibly fix crash

This commit is contained in:
Mikko Ahlroth 2023-09-02 23:39:54 +03:00
parent c2ae057124
commit 14d4b7e8de
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ defmodule Tietopaketti.ProcDiskstats do
19 -> :milliseconds_flushing
end
struct!(acc, [{key, val}])
Map.put(acc, key, val)
else
val
end

View file

@ -4,7 +4,7 @@ defmodule Tietopaketti.MixProject do
def project do
[
app: :tietopaketti,
version: "1.2.0",
version: "1.2.1",
elixir: "~> 1.15",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,