From 342bdfd2b7156ab54a7d50425ff8e0680722bfe1 Mon Sep 17 00:00:00 2001 From: Kartikay Date: Fri, 2 Feb 2024 05:11:43 +0530 Subject: [PATCH] fix minio store gateway err Signed-off-by: Kartikay --- pkg/store/bucket.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/store/bucket.go b/pkg/store/bucket.go index ff674193c94..20cf10e657d 100644 --- a/pkg/store/bucket.go +++ b/pkg/store/bucket.go @@ -14,7 +14,6 @@ import ( "math" "os" "path" - "path/filepath" "sort" "strings" "sync" @@ -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()