Skip to content

Commit a39013d

Browse files
committed
fix dst offset
1 parent 8e25004 commit a39013d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/storage.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ func (cas *ContentAddressableStorage) Get(hash string, offset, length int64, dst
175175

176176
remainingLength -= readLength
177177
o += readLength
178+
dstOffset += readLength
178179
}
179180

180181
return dstOffset, nil

0 commit comments

Comments
 (0)