Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix tenants slice
  • Loading branch information
salvacorts committed Nov 13, 2024
commit e751f6bcc013a6e97e29aa1bed77af2399f8781a
2 changes: 1 addition & 1 deletion pkg/bloombuild/planner/planner.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ func (p *Planner) loadTenantTables(

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

for tenants.Next() && tenants.Err() == nil && ctx.Err() == nil {
Expand Down
Loading