diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-14 13:50:43 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-14 13:50:43 +0300 |
commit | fd0e417eed8f73e6316482a2538074ecf31c3923 (patch) | |
tree | b74f63a8134b34edb7cb29ab5d964202ecec095d /internal/source/gitlab/cache/store.go | |
parent | 521a76e2348b3ada776d8031528bc81fe7693227 (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.go | 6 |
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 } |