File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ defmodule Console.Deployer do
3636 def me ( ) , do: { __MODULE__ , node ( ) }
3737
3838 def elect ( ) do
39- Logger . info "attempting to elect #{ me ( ) } as leader"
39+ Logger . info "attempting to elect #{ inspect ( me ( ) ) } as leader"
4040 LeaderElection . elect ( me ( ) , @ leader )
4141 end
4242
@@ -143,8 +143,8 @@ defmodule Console.Deployer do
143143 def terminate ( state , reason ) do
144144 Logger . info "Terminating with state: #{ inspect ( state ) } reason #{ inspect ( reason ) } "
145145 case LeaderElection . clear ( me ( ) , @ leader ) do
146- { :ok , _ } -> Logger . info "removed #{ me ( ) } as cluster leader"
147- _ -> Logger . info "#{ me ( ) } is not leader, moving on"
146+ { :ok , _ } -> Logger . info "removed #{ inspect ( me ( ) ) } as cluster leader"
147+ _ -> Logger . info "#{ inspect ( me ( ) ) } is not leader, moving on"
148148 end
149149 :ok
150150 end
You can’t perform that action at this time.
0 commit comments