Skip to content

Commit

Permalink
Check for nil interface returned
Browse files Browse the repository at this point in the history
  • Loading branch information
macneale4 committed Jan 7, 2025
1 parent 16be518 commit f161ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/libraries/doltcore/remotestorage/chunk_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func (dcs *DoltChunkStore) GetManyCompressed(ctx context.Context, hashes hash.Ha
for h := range hashes {
c := hashToChunk[h]

if c.IsEmpty() {
if c == nil || c.IsEmpty() {
notCached = append(notCached, h)
} else {
found(ctx, c)
Expand Down

0 comments on commit f161ca7

Please sign in to comment.