Skip to content

Commit

Permalink
fix minio store gateway err
Browse files Browse the repository at this point in the history
Signed-off-by: Kartikay <kartikay_2101ce32@iitp.ac.in>
  • Loading branch information
kartikaysaxena committed Feb 2, 2024
1 parent 94f971b commit 342bdfd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/store/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"math"
"os"
"path"
"path/filepath"
"sort"
"strings"
"sync"
Expand Down Expand Up @@ -737,7 +736,7 @@ func (s *BucketStore) getBlock(id ulid.ULID) *bucketBlock {
func (s *BucketStore) addBlock(ctx context.Context, meta *metadata.Meta) (err error) {
var dir string
if s.dir != "" {
dir = filepath.Join(s.dir, meta.ULID.String())
dir = path.Join(s.dir, meta.ULID.String())
}
start := time.Now()

Expand Down

0 comments on commit 342bdfd

Please sign in to comment.