fixup panic
Some checks failed
codeql / analyze (go) (push) Failing after 49s
build / test (push) Failing after 4m53s
build / lint (push) Successful in 9m29s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-12-05 09:53:40 +03:00
parent 90365a455c
commit 8c362fd6ae

5
kgo.go
View File

@ -460,7 +460,8 @@ func NewBroker(opts ...broker.Option) *Broker {
}
return &Broker{
opts: options,
kopts: kopts,
connected: &atomic.Uint32{},
opts: options,
kopts: kopts,
}
}