From a31743385477bc518f38656feebe728ac69aee25 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Wed, 14 Aug 2019 01:21:44 -0700 Subject: [PATCH] raft: fix compile error in "Panic" Signed-off-by: Gyuho Lee --- raft/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raft/logger.go b/raft/logger.go index 92e55b373..426a77d34 100644 --- a/raft/logger.go +++ b/raft/logger.go @@ -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{}) {