Skip to content

Commit

Permalink
Merge pull request #8759 from dolthub/aaron/archive-chunk-source-hasMany
Browse files Browse the repository at this point in the history
[no-release-notes] go/store/nbs: archive_chunk_source.go: hasMany: Fix small bug in return value for `remaining`.
  • Loading branch information
reltuk authored Jan 16, 2025
2 parents 47d9ff7 + 8497345 commit 91f667f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/store/nbs/archive_chunk_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (acs archiveChunkSource) hasMany(addrs []hasRecord) (bool, error) {
foundAll = false
}
}
return foundAll, nil
return !foundAll, nil
}

func (acs archiveChunkSource) get(ctx context.Context, h hash.Hash, stats *Stats) ([]byte, error) {
Expand Down

0 comments on commit 91f667f

Please sign in to comment.