Skip to content

Commit 740bb57

Browse files
fix(blooms): Fix tenants slice on loadTenantTables (#14900)
(cherry picked from commit a8f7851)
1 parent 631cff3 commit 740bb57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pkg/bloombuild/planner/planner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ func (p *Planner) loadTenantTables(
659659

660660
// If this is the first this we see this table, initialize the map
661661
if tenantTables[table] == nil {
662-
tenantTables[table] = make([]string, tenants.Remaining())
662+
tenantTables[table] = make([]string, 0, tenants.Remaining())
663663
}
664664

665665
for tenants.Next() && tenants.Err() == nil && ctx.Err() == nil {

0 commit comments

Comments
 (0)