Rename Plugin.Supervisor to PluginSupervisor
This is in preparation to make a bonafide Plugin.Supervisor import. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
defmodule Omnibot.Plugin.Supervisor do
|
defmodule Omnibot.PluginSupervisor do
|
||||||
@moduledoc false
|
@moduledoc false
|
||||||
|
|
||||||
use Supervisor
|
use Supervisor
|
||||||
@@ -18,7 +18,7 @@ defmodule Omnibot.Supervisor do
|
|||||||
children = [
|
children = [
|
||||||
{Task.Supervisor, name: Omnibot.RouterSupervisor, strategy: :one_for_one},
|
{Task.Supervisor, name: Omnibot.RouterSupervisor, strategy: :one_for_one},
|
||||||
{Omnibot.State, cfg: cfg, name: Omnibot.State},
|
{Omnibot.State, cfg: cfg, name: Omnibot.State},
|
||||||
{Omnibot.Plugin.Supervisor, cfg: cfg, name: Omnibot.Plugin.Supervisor},
|
{Omnibot.PluginSupervisor, cfg: cfg, name: Omnibot.PluginSupervisor},
|
||||||
] ++ unless IEx.started?(),
|
] ++ unless IEx.started?(),
|
||||||
do: [{Omnibot.Irc, name: Omnibot.Irc}],
|
do: [{Omnibot.Irc, name: Omnibot.Irc}],
|
||||||
else: []
|
else: []
|
||||||
|
|||||||
Reference in New Issue
Block a user