don't actually need those bits for the interface

This commit is contained in:
Fran Bull 2025-02-21 13:06:07 -08:00
parent 4040e14cb8
commit 0354836398

View File

@ -37,7 +37,6 @@ type fsm struct {
events []map[string]any
count int
}
type fsmSnapshot struct{}
func (f *fsm) Apply(l *raft.Log) any {
f.count++
@ -58,12 +57,6 @@ func (f *fsm) Restore(rc io.ReadCloser) error {
return nil
}
func (f *fsmSnapshot) Persist(sink raft.SnapshotSink) error {
return nil
}
func (f *fsmSnapshot) Release() {}
var verboseDERP = false
var verboseNodes = false