commit | 611f6bdfdc96cb90aca1c20bc7fe5c76e30dfd44 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Fri Oct 18 13:45:19 2019 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Fri Oct 18 13:46:21 2019 -0700 |
tree | 317d51f5cee7825c7dc3a83ac28ae08cc4cb8731 | |
parent | 531322b23cb0ae5e08f57f6d975f6c4d032a4e33 [diff] [blame] |
VOL-2112 move to voltha-lib-go Change-Id: Ic1af08003c1d2c698c0cce371e64f47b47b8d875
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