From dc16a6b7374fa43e38bcd732ae3f0617fd610fd9 Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Fri, 11 Oct 2019 10:47:42 +0100 Subject: [PATCH] heck cache status error --- cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache.go b/cache.go index a17960e..8acd79a 100644 --- a/cache.go +++ b/cache.go @@ -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) }