Skip to content

Commit

Permalink
fix(patch): [sc-9450] Handle group deletion error properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
ser-0xff committed Aug 30, 2024
1 parent ac88ceb commit de3b3c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Kafka/ForTesting/RDKafkaClient+Group.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ extension RDKafkaClient {
var ret = [(String, String)]()
for idx in 0..<resultGroupsCnt {
if let groupResultError = rd_kafka_group_result_error(resultGroups[idx]) {
let groupResultName = String(cString: rd_kafka_group_result_name(groupResultError))
let groupName = String(cString: rd_kafka_group_result_name(resultGroups[idx]))
let errorString = String(cString: rd_kafka_error_string(groupResultError))
ret.append((groupResultName, errorString))
ret.append((groupName, errorString))
}
}

Expand Down

0 comments on commit de3b3c1

Please sign in to comment.