raft: fix logger Panic variadic parameter

"# github.com/coreos/etcd/raft
raft/logger.go:117: missing ... in args forwarded to print-like function"

New parameter check got added the golang to check the function parameter
c006036075 (diff-8fa5b0d6191706747ef5773f895781c9)
This commit is contained in:
sudeesh john 2018-06-15 12:33:12 +05:30 committed by Gyuho Lee
parent 7ae862cba5
commit e07d19e549

View File

@ -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{}) {