Skip to content

Commit

Permalink
Fmt code
Browse files Browse the repository at this point in the history
Signed-off-by: chenyangyang.cy <[email protected]>
  • Loading branch information
chenyang8094 committed Aug 18, 2023
1 parent c28eb3c commit e6027df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/raftexample/raft.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func (rc *raftNode) maybeTriggerSnapshot(applyDoneC <-chan struct{}) {
} else {
log.Printf("compacted log at index %d", compactIndex)
}

rc.snapshotIndex = rc.appliedIndex
}

Expand Down

0 comments on commit e6027df

Please sign in to comment.