sync map uses store list
This commit is contained in:
parent
d65658c890
commit
fb3d729681
@ -89,7 +89,7 @@ func (m *syncMap) Delete(key interface{}) error {
|
||||
}
|
||||
|
||||
func (m *syncMap) Iterate(fn func(key, val interface{}) error) error {
|
||||
keyvals, err := m.opts.Store.Sync()
|
||||
keyvals, err := m.opts.Store.List()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user