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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-12-11 18:07:13 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-12-11 18:07:13 +0300
commit3ae2f4c7bb3e28f213ee54d33dbf6fd370277996 (patch)
tree9637768b5f96f210812669fea5cf10d84e3958ae /internal/source/gitlab/api
parent860072e9807e8ab8ce6b213f4f72f42d91c1ad70 (diff)
Add caching on top of gitlab domains source client
Diffstat (limited to 'internal/source/gitlab/api')
-rw-r--r--internal/source/gitlab/api/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/gitlab/api/client.go b/internal/source/gitlab/api/client.go
index 7206e25a..5d575cc6 100644
--- a/internal/source/gitlab/api/client.go
+++ b/internal/source/gitlab/api/client.go
@@ -7,5 +7,5 @@ import (
// Client represents an interface we use to retrieve information from GitLab
type Client interface {
// GetLookup retrives an VirtualDomain from GitLab API and wraps it into Lookup
- GetLookup(ctx context.Context, domain string) Lookup
+ GetLookup(ctx context.Context, domain string) *Lookup
}