heck cache status error

This commit is contained in:
Milos Gajdos 2019-10-11 10:47:42 +01:00
parent 98e1f2c2d3
commit fc89c9831e
No known key found for this signature in database
GPG Key ID: 8B31058CC55DFD4F

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