diff options
author | Antonio Jesus Navarro Perez <antonio@sourced.tech> | 2017-02-23 11:54:13 +0100 |
---|---|---|
committer | Antonio Jesus Navarro Perez <antonio@sourced.tech> | 2017-02-23 11:54:13 +0100 |
commit | 3a34ab97f6a382f1b28c3cfb49b3725c60b33956 (patch) | |
tree | 1484396f46e7bff7ac691378f12ee664dfcceed3 /plumbing/storer/reference.go | |
parent | b5da4e98571b02dc106de4f9b2cb2a298489f1b1 (diff) | |
download | go-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.go | 2 |
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 } } |