From 369c9824fbb18dbdcdff08f1b48ca935853cc956 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Thu, 9 Jul 2020 16:39:24 -0700 Subject: [PATCH] Rename Plugin.Supervisor to PluginSupervisor This is in preparation to make a bonafide Plugin.Supervisor import. Signed-off-by: Alek Ratzloff --- lib/{plugin/supervisor.ex => plugin_supervisor.ex} | 2 +- lib/supervisor.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename lib/{plugin/supervisor.ex => plugin_supervisor.ex} (97%) diff --git a/lib/plugin/supervisor.ex b/lib/plugin_supervisor.ex similarity index 97% rename from lib/plugin/supervisor.ex rename to lib/plugin_supervisor.ex index 3a8775c..291a71d 100644 --- a/lib/plugin/supervisor.ex +++ b/lib/plugin_supervisor.ex @@ -1,4 +1,4 @@ -defmodule Omnibot.Plugin.Supervisor do +defmodule Omnibot.PluginSupervisor do @moduledoc false use Supervisor diff --git a/lib/supervisor.ex b/lib/supervisor.ex index 5df4311..631cdec 100644 --- a/lib/supervisor.ex +++ b/lib/supervisor.ex @@ -18,7 +18,7 @@ defmodule Omnibot.Supervisor do children = [ {Task.Supervisor, name: Omnibot.RouterSupervisor, strategy: :one_for_one}, {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?(), do: [{Omnibot.Irc, name: Omnibot.Irc}], else: []