diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-07-21 11:26:16 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-09-24 10:12:04 +0300 |
commit | c65056655f4ca01164acf04a59f1cb973962f9cb (patch) | |
tree | 1a176c015c118004de4647fb1a7deff70daba1a3 | |
parent | 6a2254d98dc65b5344ff2205df67ebf5f7a8474f (diff) | |
download | pleroma-c65056655f4ca01164acf04a59f1cb973962f9cb.tar.gz |
spec fix
-rw-r--r-- | lib/pleroma/application/agent.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/application/agent.ex b/lib/pleroma/application/agent.ex index cf37ef952..0efb8ae33 100644 --- a/lib/pleroma/application/agent.ex +++ b/lib/pleroma/application/agent.ex @@ -9,7 +9,7 @@ defmodule Pleroma.Application.Agent do Agent.start_link(fn -> %{reboot_paths: [], pids: %{}} end, name: __MODULE__) end - @spec pid(any()) :: pid() + @spec pid(any()) :: pid() | nil def pid(key) do Agent.get(__MODULE__, fn state -> state[:pids][key] end) end |