commit | 7d3c558cd014d25723e6671763e34821a5f78d79 | [log] [tgz] |
---|---|---|
author | khenaidoo <knursimu@ciena.com> | Wed Aug 11 18:09:44 2021 -0400 |
committer | khenaidoo <knursimu@ciena.com> | Tue Oct 05 13:55:12 2021 -0400 |
tree | 3b8aa62a76e55de8c77f6387afbd913d99ca4265 | |
parent | 124d9736670e5e909343aa8370de663594e535ce [diff] [blame] |
[VOL-4293] OpenONU Adapter update for gRPC migration Change-Id: I05300d3b95b878f44576a99a05f53f52fdc0cda1
diff --git a/vendor/github.com/Shopify/sarama/offset_commit_request.go b/vendor/github.com/Shopify/sarama/offset_commit_request.go index 5732ed9..9931cad 100644 --- a/vendor/github.com/Shopify/sarama/offset_commit_request.go +++ b/vendor/github.com/Shopify/sarama/offset_commit_request.go
@@ -170,6 +170,10 @@ return r.Version } +func (r *OffsetCommitRequest) headerVersion() int16 { + return 1 +} + func (r *OffsetCommitRequest) requiredVersion() KafkaVersion { switch r.Version { case 1: