Skip to content

Commit

Permalink
pkg/stream: fix the error that could occur due to nil option (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
bailantaotao authored Jul 12, 2024
1 parent 1e03806 commit baed3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stream/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ func (cc *environmentCoordinator) newProducer(leader *Broker, tcpParameters *TCP
if err != nil {
return nil, err
}
clientResult = cc.newClientForProducer(options.ClientProvidedName, leader, tcpParameters, saslConfiguration, rpcTimeout)
clientResult = cc.newClientForProducer(clientProvidedName, leader, tcpParameters, saslConfiguration, rpcTimeout)
err = clientResult.connect()
if err != nil {
return nil, err
Expand Down

0 comments on commit baed3d5

Please sign in to comment.