1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-12 22:07:47 +02:00

Merge pull request #842 from milosgajdos83/cache-status

Check cache status error
This commit is contained in:
Asim Aslam
2019-10-11 10:55:35 +01:00
committed by GitHub

View File

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