Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Jul 8, 2024
1 parent 5a5ed69 commit 1e622a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/gcp/gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (s *Storage) getTile(ctx context.Context, level, index, logSize uint64) ([]
data, _, err := s.objStore.getObject(ctx, objName)
if err != nil {
if errors.Is(err, gcs.ErrObjectNotExist) {
// Return the generic NotExist error so that tileCache.Visit can differentiate
// Return the generic NotExist error so that higher levels can differentiate
// between this and other errors.
return nil, os.ErrNotExist
}
Expand Down

0 comments on commit 1e622a9

Please sign in to comment.