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-11-13 15:40:18 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-13 15:40:18 +0300
commit9eb34511cf84be3caf4972d40b115d3bd1f2e295 (patch)
tree24286f74d3d30cf7037319010873ecb7f9292078 /internal/source/gitlab/cache/store.go
parent66473aec0d138a013963936ae293f1484630c0de (diff)
Add more tests and fix cache entry refresh
Diffstat (limited to 'internal/source/gitlab/cache/store.go')
-rw-r--r--internal/source/gitlab/cache/store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/gitlab/cache/store.go b/internal/source/gitlab/cache/store.go
index 18ffb3ea..d2619c0e 100644
--- a/internal/source/gitlab/cache/store.go
+++ b/internal/source/gitlab/cache/store.go
@@ -5,5 +5,5 @@ import "context"
// Store defines an interface describing an abstract cache store
type Store interface {
LoadOrCreate(ctx context.Context, domain string) *Entry
- ReplaceOrCreate(ctx context.Context, domain string) *Entry
+ ReplaceOrCreate(ctx context.Context, domain string, entry *Entry) *Entry
}