diff --git a/CHANGELOG.md b/CHANGELOG.md index 6abefe263c..641fdabef2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#6874](https://github.com/thanos-io/thanos/pull/6874) Sidecar: fix labels returned by 'api/v1/series' in presence of conflicting external and inner labels. - [#7009](https://github.com/thanos-io/thanos/pull/7009) Rule: Fix spacing error in URL. - [#7082](https://github.com/thanos-io/thanos/pull/7082) Stores: fix label values edge case when requesting external label values with matchers +- [#7114](https://github.com/thanos-io/thanos/pull/7114) Stores: fix file path bug for minio v7.0.61 ### Added diff --git a/pkg/store/bucket.go b/pkg/store/bucket.go index ff674193c9..20cf10e657 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()