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

Use del method

This commit is contained in:
Asim 2016-05-05 21:12:59 +01:00
parent 818d500f98
commit 670ed74a13

View File

@ -359,7 +359,7 @@ func (c *cacheSelector) Mark(service string, node *registry.Node, err error) {
func (c *cacheSelector) Reset(service string) {
c.Lock()
delete(c.cache, service)
c.del(service)
c.Unlock()
}