commit | f579f13ba67a5494bd0f1e3fbe3f57e4464fde91 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Thu Oct 24 14:31:41 2019 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Thu Oct 24 14:44:06 2019 -0700 |
tree | d65217b8c792c729fce67d5b1ba3100f2d9d66c5 | |
parent | 43b8688c29eebf608aaad0d0373ecaa15e15a8d3 [diff] [blame] |
VOL-2138 Use v2 import paths for voltha-lib-go; migrate from voltha-go to voltha-lib-go Change-Id: I3db6759f3c0cea3c2164889b3d36eae708b19bde
diff --git a/vendor/github.com/Shopify/sarama/message_set.go b/vendor/github.com/Shopify/sarama/message_set.go index 600c7c4..6523ec2 100644 --- a/vendor/github.com/Shopify/sarama/message_set.go +++ b/vendor/github.com/Shopify/sarama/message_set.go
@@ -29,7 +29,10 @@ return err } - if err = pd.push(&lengthField{}); err != nil { + lengthDecoder := acquireLengthField() + defer releaseLengthField(lengthDecoder) + + if err = pd.push(lengthDecoder); err != nil { return err }