Skip to content

Commit

Permalink
raft: fix logger variadic parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Jun 15, 2018
1 parent 9054786 commit 1136ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raft/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (l *DefaultLogger) Fatalf(format string, v ...interface{}) {
}

func (l *DefaultLogger) Panic(v ...interface{}) {
l.Logger.Panic(v)
l.Logger.Panic(v...)
}

func (l *DefaultLogger) Panicf(format string, v ...interface{}) {
Expand Down

0 comments on commit 1136ba0

Please sign in to comment.