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 {
|
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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user