diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-07-15 10:47:50 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-07-24 07:49:29 +0300 |
commit | 8ae49b3597e2ceaebfe4da66b555db4293a2e00c (patch) | |
tree | 92743acd8dbfa8db149d4b22c8f8f41552acc056 /internal/source/gitlab/cache/cache_test.go | |
parent | 11eaa4f759a746ee621f85362bae0512cb96497a (diff) |
Enable polling in the source domains
Enables gitlabClient.Poll in the domain source init.
Diffstat (limited to 'internal/source/gitlab/cache/cache_test.go')
-rw-r--r-- | internal/source/gitlab/cache/cache_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/source/gitlab/cache/cache_test.go b/internal/source/gitlab/cache/cache_test.go index 7a12cd3b..27bd449a 100644 --- a/internal/source/gitlab/cache/cache_test.go +++ b/internal/source/gitlab/cache/cache_test.go @@ -69,6 +69,8 @@ func (c *client) GetLookup(ctx context.Context, _ string) api.Lookup { return lookup } +func (c *client) Poll(int, time.Duration, chan error) {} + func withTestCache(config resolverConfig, cacheConfig *cacheConfig, block func(*Cache, *client)) { var chanSize int |