Wrong operator
This commit is contained in:
parent
cf28d0cb72
commit
c92f8e4ff4
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ defmodule Tietopaketti.Sysmon do
|
|||
with {:ok, content} <- File.read(ProcDiskstats.path()),
|
||||
lines <- String.split(content, "\n") do
|
||||
for line <- lines,
|
||||
parsed <- ProcDiskstats.parse_line(line),
|
||||
parsed = ProcDiskstats.parse_line(line),
|
||||
Map.has_key?(state.paths_by_block, parsed.block),
|
||||
reduce: %{} do
|
||||
acc -> Map.put(acc, parsed.block, parsed)
|
||||
|
|
2
mix.exs
2
mix.exs
|
@ -4,7 +4,7 @@ defmodule Tietopaketti.MixProject do
|
|||
def project do
|
||||
[
|
||||
app: :tietopaketti,
|
||||
version: "1.2.2",
|
||||
version: "1.2.3",
|
||||
elixir: "~> 1.15",
|
||||
elixirc_paths: elixirc_paths(Mix.env()),
|
||||
start_permanent: Mix.env() == :prod,
|
||||
|
|
Loading…
Reference in a new issue