mirror of https://github.com/grafana/loki
[Blooms] Use correct table address function (#11955)
parent
3c06b360ec
commit
bd12e16339
@ -1,16 +0,0 @@ |
||||
package bloomcompactor |
||||
|
||||
import ( |
||||
"github.com/prometheus/common/model" |
||||
|
||||
"github.com/grafana/loki/pkg/compactor/retention" |
||||
) |
||||
|
||||
func getIntervalsForTables(tables []string) map[string]model.Interval { |
||||
tablesIntervals := make(map[string]model.Interval, len(tables)) |
||||
for _, table := range tables { |
||||
tablesIntervals[table] = retention.ExtractIntervalFromTableName(table) |
||||
} |
||||
|
||||
return tablesIntervals |
||||
} |
||||
Loading…
Reference in new issue