aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/storer/reference.go
diff options
context:
space:
mode:
authorAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-02-23 11:54:13 +0100
committerAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-02-23 11:54:13 +0100
commit3a34ab97f6a382f1b28c3cfb49b3725c60b33956 (patch)
tree1484396f46e7bff7ac691378f12ee664dfcceed3 /plumbing/storer/reference.go
parentb5da4e98571b02dc106de4f9b2cb2a298489f1b1 (diff)
downloadgo-git-3a34ab97f6a382f1b28c3cfb49b3725c60b33956.tar.gz
plumbing/storer: referenceIterator now returns the error if any
Diffstat (limited to 'plumbing/storer/reference.go')
-rw-r--r--plumbing/storer/reference.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/storer/reference.go b/plumbing/storer/reference.go
index 692fe88..6c2de0d 100644
--- a/plumbing/storer/reference.go
+++ b/plumbing/storer/reference.go
@@ -70,7 +70,7 @@ func (iter *ReferenceSliceIter) ForEach(cb func(*plumbing.Reference) error) erro
return nil
}
- return nil
+ return err
}
}