Fix more bugz

This commit is contained in:
Mikko Ahlroth 2023-09-02 23:42:31 +03:00
parent 14d4b7e8de
commit cf28d0cb72
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ defmodule Tietopaketti.ProcDiskstats do
:error -> 0
end
if val <= @fields - 1 + 3 do
if i <= @fields - 1 + 3 do
key =
case i do
3 -> :reads_completed
@ -65,7 +65,7 @@ defmodule Tietopaketti.ProcDiskstats do
Map.put(acc, key, val)
else
val
acc
end
end
end

View file

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