mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #2496 from bdarnell/patch-2
raft: correctly pass arguments to Logger.Panicf()
This commit is contained in:
commit
38df712777
@ -118,7 +118,7 @@ func (l *DefaultLogger) Panic(v ...interface{}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (l *DefaultLogger) Panicf(format string, v ...interface{}) {
|
func (l *DefaultLogger) Panicf(format string, v ...interface{}) {
|
||||||
l.Logger.Panicf(format, v)
|
l.Logger.Panicf(format, v...)
|
||||||
}
|
}
|
||||||
|
|
||||||
func header(lvl, msg string) string {
|
func header(lvl, msg string) string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user