Rename Dump to Sync

This commit is contained in:
Asim Aslam
2019-10-03 09:56:25 +01:00
parent a9c85eda68
commit b5f33b2aaa
4 changed files with 5 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ func (m *syncMap) Delete(key interface{}) error {
}
func (m *syncMap) Iterate(fn func(key, val interface{}) error) error {
keyvals, err := m.opts.Store.Dump()
keyvals, err := m.opts.Store.Sync()
if err != nil {
return err
}