From c92f8e4ff43f05f8a883e91bc8a58b20ded4dae6 Mon Sep 17 00:00:00 2001 From: Mikko Ahlroth Date: Sat, 2 Sep 2023 23:49:29 +0300 Subject: [PATCH] Wrong operator --- lib/tietopaketti/sysmon.ex | 2 +- mix.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tietopaketti/sysmon.ex b/lib/tietopaketti/sysmon.ex index 41db9ad..a67b67b 100644 --- a/lib/tietopaketti/sysmon.ex +++ b/lib/tietopaketti/sysmon.ex @@ -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) diff --git a/mix.exs b/mix.exs index 0e14878..5b8f52a 100644 --- a/mix.exs +++ b/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,