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-14 13:50:43 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-14 13:50:43 +0300
commitfd0e417eed8f73e6316482a2538074ecf31c3923 (patch)
treeb74f63a8134b34edb7cb29ab5d964202ecec095d /internal/source/gitlab/cache/store.go
parent521a76e2348b3ada776d8031528bc81fe7693227 (diff)
Simplify how we use gitlab source retrieval contexts
Diffstat (limited to 'internal/source/gitlab/cache/store.go')
-rw-r--r--internal/source/gitlab/cache/store.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/source/gitlab/cache/store.go b/internal/source/gitlab/cache/store.go
index d2619c0e..3cf8aac1 100644
--- a/internal/source/gitlab/cache/store.go
+++ b/internal/source/gitlab/cache/store.go
@@ -1,9 +1,7 @@
package cache
-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 *Entry) *Entry
+ LoadOrCreate(domain string) *Entry
+ ReplaceOrCreate(domain string, entry *Entry) *Entry
}