From eb2fd3f8336a301fbb3986cc164d8abae1d2133f Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Mon, 29 Jan 2024 11:19:31 +0800 Subject: [PATCH] fix tests --- pmtiles/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmtiles/server.go b/pmtiles/server.go index 8632347..9496bb4 100644 --- a/pmtiles/server.go +++ b/pmtiles/server.go @@ -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()