Skip to content

Commit

Permalink
fix(blockbuilder): use index path prefix in objectclient for tsdb cre…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
owen-d committed Jan 6, 2025
1 parent 46dc537 commit 5757404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/blockbuilder/builder/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5757404

Please sign in to comment.