fix(blockbuilder): use index path prefix in objectclient for tsdb creation (#15614)

pull/15617/head^2
Owen Diehl 1 year ago committed by GitHub
parent b5084dcc7f
commit 55f2dd8ad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      pkg/blockbuilder/builder/storage.go

@ -44,10 +44,11 @@ func NewMultiStore(
if err != nil {
return nil, fmt.Errorf("creating object client for period %s: %w ", periodicConfig.From, err)
}
prefixed := client.NewPrefixedObjectClient(objectClient, periodicConfig.IndexTables.PathPrefix)
store.stores = append(store.stores, &storeEntry{
start: periodicConfig.From.Time,
cfg: periodicConfig,
objectClient: objectClient,
objectClient: prefixed,
})
}
return store, nil

Loading…
Cancel
Save