Possibly fix crash
This commit is contained in:
parent
c2ae057124
commit
14d4b7e8de
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ defmodule Tietopaketti.ProcDiskstats do
|
||||||
19 -> :milliseconds_flushing
|
19 -> :milliseconds_flushing
|
||||||
end
|
end
|
||||||
|
|
||||||
struct!(acc, [{key, val}])
|
Map.put(acc, key, val)
|
||||||
else
|
else
|
||||||
val
|
val
|
||||||
end
|
end
|
||||||
|
|
2
mix.exs
2
mix.exs
|
@ -4,7 +4,7 @@ defmodule Tietopaketti.MixProject do
|
||||||
def project do
|
def project do
|
||||||
[
|
[
|
||||||
app: :tietopaketti,
|
app: :tietopaketti,
|
||||||
version: "1.2.0",
|
version: "1.2.1",
|
||||||
elixir: "~> 1.15",
|
elixir: "~> 1.15",
|
||||||
elixirc_paths: elixirc_paths(Mix.env()),
|
elixirc_paths: elixirc_paths(Mix.env()),
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
|
|
Loading…
Reference in a new issue