Fix more bugz
This commit is contained in:
parent
14d4b7e8de
commit
cf28d0cb72
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
2
mix.exs
2
mix.exs
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue