Skip to content

Commit

Permalink
Merge pull request #826 from colega/don-t-set-nil-config-when-seeding…
Browse files Browse the repository at this point in the history
…-topics-in-kfake-cluster

Don't set nil config when seeding topics in kfake cluster
  • Loading branch information
twmb authored Oct 8, 2024
2 parents b77dd13 + f1cded5 commit 0129171
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/kfake/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ func (d *data) mkt(t string, nparts int, nreplicas int, configs map[string]*stri
d.id2t[id] = t
d.t2id[t] = id
d.treplicas[t] = nreplicas
d.tcfgs[t] = configs
if configs != nil {
d.tcfgs[t] = configs
}
for i := 0; i < nparts; i++ {
d.tps.mkp(t, int32(i), d.c.newPartData)
}
Expand Down

0 comments on commit 0129171

Please sign in to comment.