mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: whoops
This commit is contained in:
parent
c312d6efad
commit
10eb997621
@ -25,7 +25,7 @@ func Example_Node() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
if prev.Equal(st) {
|
||||
if !prev.Equal(st) {
|
||||
saveStateToDisk(st)
|
||||
prev = st
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user