Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Jan 29, 2024
1 parent 92a2f29 commit eb2fd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmtiles/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func (server *Server) getTile(ctx context.Context, httpHeaders map[string]string
r, err := server.bucket.NewRangeReader(ctx, name+".pmtiles", int64(header.TileDataOffset+entry.Offset), int64(entry.Length))
// possible we have the header/directory cached but the archive has disappeared
if err != nil {
server.logger.Printf("failed to fetch tile %s %d-%d", name, entry.offset, entry.length)
server.logger.Printf("failed to fetch tile %s %d-%d", name, entry.Offset, entry.Length)
return 404, httpHeaders, []byte("archive not found")
}
defer r.Close()
Expand Down

0 comments on commit eb2fd3f

Please sign in to comment.