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

fix store delete

This commit is contained in:
Asim Aslam 2021-02-10 07:14:49 +00:00
parent 2653e7a977
commit f9f5e7422d

View File

@ -116,7 +116,7 @@ func (m *memoryStore) set(prefix string, r *Record) {
func (m *memoryStore) delete(prefix, key string) {
key = m.key(prefix, key)
m.Delete(key)
m.store.Delete(key)
}
func (m *memoryStore) list(prefix string, limit, offset uint) []string {