aboutsummaryrefslogtreecommitdiff
path: root/object/fetch/reader.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/fetch/reader.go')
-rw-r--r--object/fetch/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/object/fetch/reader.go b/object/fetch/reader.go
index 8baf1119..b1b4f7c2 100644
--- a/object/fetch/reader.go
+++ b/object/fetch/reader.go
@@ -10,7 +10,7 @@ import (
// exactReader reads one object's content stream
// and verifies that its header type matches wantType.
-func (fetcher *Fetcher) exactReader(id oid.ObjectID, wantType typ.Type) (io.ReadCloser, uint64, error) {
+func (fetcher *Fetcher) exactReader(id oid.ObjectID, wantType typ.Type) (io.ReadCloser, int, error) {
gotType, size, rc, err := fetcher.store.ReadReaderContent(id)
if err != nil {
return nil, 0, wrapObjectReadError(id, err)