Commit 28c1f07379e2884348a264041ac4057dac9e6154

Stephen Moloney 2016-05-23T15:59:31

fix Og.log

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/auth/ovh/cache.ex b/lib/auth/ovh/cache.ex
index caa8496..0649051 100644
--- a/lib/auth/ovh/cache.ex
+++ b/lib/auth/ovh/cache.ex
@@ -35,7 +35,7 @@ defmodule ExOvh.Auth.Ovh.Cache do
 
   def terminate(:shutdown, _state) do
     Og.context(__ENV__, :warn)
-    Og.log_return(__ENV__, "gen_server #{__MODULE__} shutting down", :warn)
+    Og.log_return("gen_server #{__MODULE__} shutting down", __ENV__, :warn)
     :ok
   end