Skip to content

Commit

Permalink
kfake: initialize sasls map to ensure Superuser works
Browse files Browse the repository at this point in the history
Closes #528
  • Loading branch information
twmb committed Aug 3, 2023
1 parent a0024df commit 9f31863
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 9f31863

Please sign in to comment.