Skip to content

Commit

Permalink
sync map uses store list
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Oct 23, 2019
1 parent d65658c commit fb3d729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit fb3d729

Please sign in to comment.