Skip to content

Commit

Permalink
Name the unnamed supervisors
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmanzanera committed Apr 19, 2023
1 parent ce8527d commit ea098d3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/archethic/beacon_chain/subset/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule Archethic.BeaconChain.SubsetSupervisor do
alias Archethic.Utils

def start_link(arg \\ []) do
Supervisor.start_link(__MODULE__, arg)
Supervisor.start_link(__MODULE__, arg, name: __MODULE__)
end

def init(_) do
Expand Down
2 changes: 1 addition & 1 deletion lib/archethic/governance/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule Archethic.Governance.Supervisor do
alias Archethic.Utils

def start_link(arg) do
Supervisor.start_link(__MODULE__, arg)
Supervisor.start_link(__MODULE__, arg, name: __MODULE__)
end

def init(_args) do
Expand Down
2 changes: 1 addition & 1 deletion lib/archethic/oracle_chain/services/cache_supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule Archethic.OracleChain.ServiceCacheSupervisor do
alias Archethic.OracleChain.Services

def start_link(arg \\ []) do
Supervisor.start_link(__MODULE__, arg)
Supervisor.start_link(__MODULE__, arg, name: __MODULE__)
end

def init(_arg) do
Expand Down
2 changes: 1 addition & 1 deletion lib/archethic/oracle_chain/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule Archethic.OracleChain.Supervisor do
alias Archethic.Utils

def start_link(args \\ []) do
Supervisor.start_link(__MODULE__, args)
Supervisor.start_link(__MODULE__, args, name: __MODULE__)
end

def init(_args) do
Expand Down

0 comments on commit ea098d3

Please sign in to comment.