IBM / sarama

Sarama is a Go library for Apache Kafka.
MIT License
11.58k stars 1.76k forks source link

fix(lint): resolve IDENTICAL_BRANCHES issue in broker #2992

Closed frzifus closed 1 month ago

frzifus commented 1 month ago

The same code is executed when the condition "err != nil" is true or false, because the code in the if-then branch and after the if statement is identical.

frzifus commented 1 month ago

10/10 no notes.

mh?

puellanivis commented 1 month ago

mh?

I cannot Approve PRs here, but the PR is solid, and clean.