Skip to content

Commit

Permalink
Merge pull request #1484 from agapoff/improved-mock-delete-topics-res…
Browse files Browse the repository at this point in the history
…ponse

Set correct version in MockDeleteTopicsResponse
  • Loading branch information
bai authored Sep 6, 2019
2 parents 5534ffc + 00f3bf9 commit 5c9d4b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mockresponses.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ func (mr *MockDeleteTopicsResponse) For(reqBody versionedDecoder) encoder {
for _, topic := range req.Topics {
res.TopicErrorCodes[topic] = ErrNoError
}
res.Version = int16(req.Version)
return res
}

Expand Down

0 comments on commit 5c9d4b0

Please sign in to comment.