diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-12-05 19:26:16 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-12-05 19:26:16 +0300 |
commit | 746d148c9f687cceb9760bb5b34222b4eb28a739 (patch) | |
tree | 141e24862a3a69a8c7280821c435a9ba02badbfe /internal/source/gitlab/cache/entry.go | |
parent | 0e115c3f3f99e95aa6778c25381c85e4a3f7ad36 (diff) |
Improve tests and simplify cache retriever type
Diffstat (limited to 'internal/source/gitlab/cache/entry.go')
-rw-r--r-- | internal/source/gitlab/cache/entry.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/gitlab/cache/entry.go b/internal/source/gitlab/cache/entry.go index 9d81cc85..1a40e203 100644 --- a/internal/source/gitlab/cache/entry.go +++ b/internal/source/gitlab/cache/entry.go @@ -90,7 +90,7 @@ func (e *Entry) Refresh(client api.Client, store Store) { } func (e *Entry) retrieveWithClient(client api.Client) { - retriever := Retriever{client: client, timeout: retrievalTimeout} + retriever := Retriever{client: client} e.setResponse(retriever.Retrieve(e.domain)) } |