mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: remove the init cap of log entries
This commit is contained in:
parent
2ef9498d6f
commit
888ddacd3c
@ -13,7 +13,7 @@ type log struct {
|
||||
|
||||
func newLog() *log {
|
||||
return &log{
|
||||
ents: make([]Entry, 1, 1024),
|
||||
ents: make([]Entry, 1),
|
||||
commit: 0,
|
||||
applied: 0,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user