Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Feb 9, 2024
1 parent 04efc67 commit c9aad2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmtiles/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (b FileBucket) NewRangeReader(ctx context.Context, key string, offset, leng
}

func (b FileBucket) NewRangeReaderEtag(ctx context.Context, key string, offset, length int64, etag string) (io.ReadCloser, string, error) {

Check warning on line 80 in pmtiles/bucket.go

View workflow job for this annotation

GitHub Actions / fmt_vet_lint

parameter 'ctx' seems to be unused, consider removing or renaming it as _

Check warning on line 80 in pmtiles/bucket.go

View workflow job for this annotation

GitHub Actions / fmt_vet_lint

exported method FileBucket.NewRangeReaderEtag should have comment or be unexported
name := b.path + string(os.PathSeparator) + key
name := filepath.Join(b.path, key)
file, err := os.Open(name)
defer file.Close()
if err != nil {
Expand Down

0 comments on commit c9aad2a

Please sign in to comment.