diff options
Diffstat (limited to 'lib/nola/icecast_agent.ex')
-rw-r--r-- | lib/nola/icecast_agent.ex | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/nola/icecast_agent.ex b/lib/nola/icecast_agent.ex index 8a3a72b..563b372 100644 --- a/lib/nola/icecast_agent.ex +++ b/lib/nola/icecast_agent.ex @@ -6,12 +6,10 @@ defmodule Nola.IcecastAgent do end def update(stats) do - Agent.update(__MODULE__, fn(_old) -> stats end) + Agent.update(__MODULE__, fn _old -> stats end) end def get do - Agent.get(__MODULE__, fn(stats) -> stats end) + Agent.get(__MODULE__, fn stats -> stats end) end - end - |