update persist state

This commit is contained in:
Megan Bang
2022-08-25 14:57:40 -05:00
parent 03f5085026
commit 4fab46749a
43 changed files with 280 additions and 97 deletions

View File

@@ -131,7 +131,7 @@ func (b *Backend) StateMgr(name string) (statemgr.Full, error) {
if err := st.WriteState(states.NewState()); err != nil {
return nil, unlock(err)
}
if err := st.PersistState(); err != nil {
if err := st.PersistState(nil); err != nil {
return nil, unlock(err)
}