Skip to content

Commit b2f9e75

Browse files
committed
fix clang-tidy check
1 parent 629bbbf commit b2f9e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/snctl-cpp/topics/describe_topic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ inline void describe_topic(rd_kafka_t *rk, rd_kafka_queue_t *rkqu,
5454
auto id = rd_kafka_TopicPartitionInfo_partition(result_partition);
5555
auto leader = rd_kafka_TopicPartitionInfo_leader(result_partition);
5656
if (leader) {
57-
std::cout << "Partition[" << i << "] "
57+
std::cout << "Partition[" << id << "] "
5858
<< R"(leader: {"id": )" << rd_kafka_Node_id(leader)
5959
<< R"(, url: ")" << rd_kafka_Node_host(leader) << ':'
6060
<< rd_kafka_Node_port(leader) << R"("})" << std::endl;

0 commit comments

Comments
 (0)