aboutsummaryrefslogtreecommitdiff
path: root/refstore/chain
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-06 18:38:44 +0800
committerGravatar Runxi Yu2026-03-06 18:58:30 +0800
commitf2922155de01b734e3e8b3f50be8f263ec13cacd (patch)
tree6dcfcf5689e63eea09314dce543e1de26cab89fe /refstore/chain
parentinternal/compress: Format (diff)
signatureNo signature
*: Lint v0.1.68
Diffstat (limited to 'refstore/chain')
-rw-r--r--refstore/chain/resolve.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/refstore/chain/resolve.go b/refstore/chain/resolve.go
index 66ba821e..007c3668 100644
--- a/refstore/chain/resolve.go
+++ b/refstore/chain/resolve.go
@@ -9,6 +9,8 @@ import (
)
// Resolve resolves a reference from the first backend that has it.
+//
+//nolint:ireturn
func (chain *Chain) Resolve(name string) (ref.Ref, error) {
for i, backend := range chain.backends {
if backend == nil {