Wrong operator

This commit is contained in:
Mikko Ahlroth 2023-09-02 23:49:29 +03:00
parent cf28d0cb72
commit c92f8e4ff4
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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,