mirror of
https://github.com/benbusby/farside.git
synced 2025-06-08 02:16:36 +00:00
Update lib/farside.ex
Co-authored-by: Ben Busby <contact@benbusby.com>
This commit is contained in:
parent
c1ec9e9a6b
commit
75c36ae6af
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ defmodule Farside do
|
||||||
alias Farside.LastUpdated
|
alias Farside.LastUpdated
|
||||||
|
|
||||||
def get_services_map do
|
def get_services_map do
|
||||||
Farside.Server.Supervisor.list()
|
Farside.Instance.Supervisor.list()
|
||||||
|> Enum.reduce(%{}, fn service, acc ->
|
|> Enum.reduce(%{}, fn service, acc ->
|
||||||
{_, data} = :ets.lookup(String.to_atom(service), :data) |> List.first()
|
{_, data} = :ets.lookup(String.to_atom(service), :data) |> List.first()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue