diff --git a/lib/gen_registry.ex b/lib/gen_registry.ex index 44406ce..85fa78d 100644 --- a/lib/gen_registry.ex +++ b/lib/gen_registry.ex @@ -204,7 +204,7 @@ defmodule GenRegistry do Process.flag(:trap_exit, true) worker_type = - case worker_module.module_info[:attributes][:behaviour] do + case worker_module.module_info()[:attributes][:behaviour] do [:supervisor] -> :supervisor _ -> :worker end