Skip to content

Commit

Permalink
Update logic for comparing error
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed May 24, 2024
1 parent 18bfde6 commit 34c1e45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/formation/lxd.ex
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@ defmodule Formation.Lxd do
err_output
|> String.split("\n")
|> Enum.reject(fn err ->
Enum.any?(ignored_errors, fn ignored_err ->
String.trim(err) == ignored_err
end)
String.trim(err) in ignored_errors
end)
end

Expand Down

0 comments on commit 34c1e45

Please sign in to comment.