diff options
Diffstat (limited to 'objectstore')
| -rw-r--r-- | objectstore/mix/mru.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/objectstore/mix/mru.go b/objectstore/mix/mru.go index 11782d5f..52176cab 100644 --- a/objectstore/mix/mru.go +++ b/objectstore/mix/mru.go @@ -8,6 +8,7 @@ type backendNode struct { next *backendNode } +//nolint:ireturn func (mix *Mix) firstBackend() objectstore.Store { mix.mu.RLock() defer mix.mu.RUnlock() @@ -19,6 +20,7 @@ func (mix *Mix) firstBackend() objectstore.Store { return mix.backendHead.backend } +//nolint:ireturn func (mix *Mix) nextBackend(current objectstore.Store) objectstore.Store { mix.mu.RLock() defer mix.mu.RUnlock() |
