heck cache status error

This commit is contained in:
Milos Gajdos 2019-10-11 10:47:42 +01:00 committed by Vasiliy Tolstov
parent dfd93346a9
commit dc16a6b737

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