Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/source/gitlab/cache/entry.go')
-rw-r--r--internal/source/gitlab/cache/entry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/gitlab/cache/entry.go b/internal/source/gitlab/cache/entry.go
index 0b980774..769f1713 100644
--- a/internal/source/gitlab/cache/entry.go
+++ b/internal/source/gitlab/cache/entry.go
@@ -72,7 +72,7 @@ func (e *Entry) Lookup() *api.Lookup {
func (e *Entry) Retrieve(ctx context.Context) (lookup *api.Lookup) {
// We run the code within an additional func() to run both `e.setResponse`
// and `e.retrieve.Retrieve` asynchronously.
- e.retrieve.Do(func() { go func() { e.setResponse(e.retriever.Retrieve(e.domain)) }() })
+ e.retrieve.Do(func() { go func() { e.setResponse(e.retriever.Retrieve(ctx, e.domain)) }() })
select {
case <-ctx.Done():