mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
heck cache status error
This commit is contained in:
parent
98e1f2c2d3
commit
fc89c9831e
2
registry/cache/cache.go
vendored
2
registry/cache/cache.go
vendored
@ -144,7 +144,7 @@ func (c *cache) get(service string) ([]*registry.Service, error) {
|
||||
}
|
||||
|
||||
// reset the status
|
||||
if c.getStatus(); err != nil {
|
||||
if err := c.getStatus(); err != nil {
|
||||
c.setStatus(nil)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user