diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-07-24 07:47:59 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-07-24 07:49:30 +0300 |
commit | 0f989d656881f97ce56e0aff74e62bf0dfd1145f (patch) | |
tree | c8ee4f8310cd6c94d63fa5af7c13302b66febbec /internal/source/gitlab/cache/cache.go | |
parent | f5e00b5cebd6b6a193c802b03a3b9ec772eff31d (diff) |
Add checker interface to type Gitlab
Add a new checker interface that only calls Status from the Client to
stop polluting the cache and the retriever implementations.
Move domain changes out of this MR.
Diffstat (limited to 'internal/source/gitlab/cache/cache.go')
-rw-r--r-- | internal/source/gitlab/cache/cache.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/source/gitlab/cache/cache.go b/internal/source/gitlab/cache/cache.go index e3bf85cd..c8d166b5 100644 --- a/internal/source/gitlab/cache/cache.go +++ b/internal/source/gitlab/cache/cache.go @@ -109,8 +109,3 @@ func (c *Cache) Resolve(ctx context.Context, domain string) *api.Lookup { metrics.DomainsSourceCacheMiss.Inc() return entry.Retrieve(ctx, c.client) } - -// Status returns the client Status -func (c *Cache) Status() error { - return c.client.Status() -} |