mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Fix Kafka initialization crash (#16523)
This commit is contained in:
parent
2278fc8f47
commit
0b7989aa4b
@ -321,7 +321,6 @@ func (target *KafkaTarget) initKafka() error {
|
||||
if err != sarama.ErrOutOfBrokers {
|
||||
target.loggerOnce(context.Background(), err, target.ID().String())
|
||||
}
|
||||
target.producer.Close()
|
||||
return err
|
||||
}
|
||||
target.producer = producer
|
||||
|
Loading…
Reference in New Issue
Block a user