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:
parent
818d500f98
commit
670ed74a13
2
selector/cache/cache.go
vendored
2
selector/cache/cache.go
vendored
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user