Skip to content

Commit

Permalink
Merge pull request #529 from twmb/kfake
Browse files Browse the repository at this point in the history
kfake: initialize sasls map to ensure Superuser works
  • Loading branch information
twmb authored Aug 3, 2023
2 parents a0024df + 9f31863 commit 4af255f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/kfake/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ func NewCluster(opts ...Opt) (c *Cluster, err error) {

minSessionTimeout: 6 * time.Second,
maxSessionTimeout: 5 * time.Minute,

sasls: make(map[struct{ m, u string }]string),
}
for _, opt := range opts {
opt.apply(&cfg)
Expand Down

0 comments on commit 4af255f

Please sign in to comment.