Skip to content

Commit

Permalink
Use response with the same version as request in MockDeleteTopicsResp…
Browse files Browse the repository at this point in the history
…onse
  • Loading branch information
agapoff committed Sep 6, 2019
1 parent 5534ffc commit 00f3bf9
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 00f3bf9

Please sign in to comment.