Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Nov 9, 2023
1 parent 6170acf commit c4f8b0f
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 @@ -114,7 +114,7 @@ func OpenBucket(ctx context.Context, bucketURL string, bucketPrefix string) (Buc
} else {
bucket, err := blob.OpenBucket(ctx, bucketURL)
if err != nil {
return bucket, err
return nil, err
}
if bucketPrefix != "/" && bucketPrefix != "." {
bucket = blob.PrefixedBucket(bucket, path.Clean(bucketPrefix)+string(os.PathSeparator))
Expand Down

0 comments on commit c4f8b0f

Please sign in to comment.