Skip to content

Commit

Permalink
Merge branch 'dont-error-on-global-names'
Browse files Browse the repository at this point in the history
  • Loading branch information
keathley committed Feb 22, 2018
2 parents 4062de4 + 08f4fc0 commit 633929e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/raft/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ defmodule Raft.Server do
count = Enum.count(req.entries)
me = state.me
indexes = Enum.map(req.entries, & &1.index)
"#{me}: Log is consistent. Appending #{count} new entries at indexes: #{inspect indexes}"
"#{name(state)}: Log is consistent. Appending #{count} new entries at indexes: #{inspect indexes}"
end)

{:ok, index} = Log.append(state.me, req.entries)
Expand Down

0 comments on commit 633929e

Please sign in to comment.