Skip to content

Commit 4987ecb

Browse files
committed
Parse remoteContiguousLength when parsing header from storage
Fixes the `remote contiguous length - persists` test assuming storage support.
1 parent 31f94cb commit 4987ecb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/core.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,8 @@ function parseHeader(info) {
864864
tree: info.head || getDefaultTree(),
865865
hints: {
866866
reorgs: [],
867-
contiguousLength: info.hints ? info.hints.contiguousLength : 0
867+
contiguousLength: info.hints ? info.hints.contiguousLength : 0,
868+
remoteContiguousLength: info.hints ? info.hints.remoteContiguousLength : 0
868869
}
869870
}
870871
}

0 commit comments

Comments
 (0)