Skip to content

Commit 33a9bf6

Browse files
committed
chore: Run mix format
1 parent db55351 commit 33a9bf6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎lib/cluster/strategy/tailscale.ex‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ defmodule Cluster.Strategy.Tailscale do
6060
tag = Keyword.fetch!(config, :tag)
6161
appname = Keyword.fetch!(config, :appname)
6262

63-
Octocon.Utils.Tailscale.list_devices() |> Enum.filter(fn device -> (("tag:" <> tag) in (device["tags"] || [])) && device["connectedToControl"] == true end)
63+
Octocon.Utils.Tailscale.list_devices()
64+
|> Enum.filter(fn device ->
65+
("tag:" <> tag) in (device["tags"] || []) && device["connectedToControl"] == true
66+
end)
6467
|> Enum.map(&List.first(&1["addresses"]))
6568
|> Enum.map(&"#{appname}@#{&1}")
6669
|> Enum.map(&String.to_atom/1)

0 commit comments

Comments
 (0)