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:
2020-07-09 16:39:24 -07:00
parent 8cddd8e78e
commit 369c9824fb
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
defmodule Omnibot.Plugin.Supervisor do defmodule Omnibot.PluginSupervisor do
@moduledoc false @moduledoc false
use Supervisor use Supervisor

View File

@@ -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: []