diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-13 15:08:54 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-13 15:08:54 +0300 |
commit | 66473aec0d138a013963936ae293f1484630c0de (patch) | |
tree | deea49b010fc1f02a2e336915b74378aa9ca707b /internal/source/gitlab/cache/entry.go | |
parent | 9452eadb1915363a08fb5e9dc0367af6107dfb08 (diff) |
Rename entry function responsible for canceling context
Diffstat (limited to 'internal/source/gitlab/cache/entry.go')
-rw-r--r-- | internal/source/gitlab/cache/entry.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/source/gitlab/cache/entry.go b/internal/source/gitlab/cache/entry.go index 9a259ab7..55380a7b 100644 --- a/internal/source/gitlab/cache/entry.go +++ b/internal/source/gitlab/cache/entry.go @@ -94,9 +94,9 @@ func (e *Entry) Refresh(ctx context.Context, client Resolver, store Store) { }) } -// CancelContexts cancels all cancelable contexts. Typically used when the +// CancelRetrieval cancels all cancelable contexts. Typically used when the // entry is evicted from cache. -func (e *Entry) CancelContexts() { +func (e *Entry) CancelRetrieval() { e.cancel() } |