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/gogo/protobuf/proto/extensions.go b/vendor/github.com/gogo/protobuf/proto/extensions.go index 686bd2a..341c6f5 100644 --- a/vendor/github.com/gogo/protobuf/proto/extensions.go +++ b/vendor/github.com/gogo/protobuf/proto/extensions.go
@@ -527,6 +527,7 @@ // SetExtension sets the specified extension of pb to the specified value. func SetExtension(pb Message, extension *ExtensionDesc, value interface{}) error { if epb, ok := pb.(extensionsBytes); ok { + ClearExtension(pb, extension) newb, err := encodeExtension(extension, value) if err != nil { return err