mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: go fmt
This commit is contained in:
parent
6e0a668455
commit
8ddcd9799d
@ -194,7 +194,7 @@ func (sm *stateMachine) theN() int {
|
||||
func (sm *stateMachine) nextEnts() (ents []Entry) {
|
||||
ci := sm.theN()
|
||||
if ci > sm.commit {
|
||||
ents = sm.log[sm.commit+1:ci]
|
||||
ents = sm.log[sm.commit+1 : ci]
|
||||
sm.commit = ci
|
||||
}
|
||||
return ents
|
||||
|
Loading…
x
Reference in New Issue
Block a user