1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00

sync map uses store list

This commit is contained in:
Asim Aslam 2019-10-23 22:35:28 +01:00
parent d65658c890
commit fb3d729681

View File

@ -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
}