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

@@ -160,7 +160,7 @@ func (b *Backend) StateMgr(name string) (statemgr.Full, error) {
err = lockUnlock(err)
return nil, err
}
if err := stateMgr.PersistState(); err != nil {
if err := stateMgr.PersistState(nil); err != nil {
err = lockUnlock(err)
return nil, err
}