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()
}