mirror of
https://github.com/distribution/distribution.git
synced 2025-09-25 22:23:38 +00:00
Bump google storage module
Also bump the golangci version Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
This commit is contained in:
3
vendor/github.com/googleapis/gax-go/v2/proto_json_stream.go
generated
vendored
3
vendor/github.com/googleapis/gax-go/v2/proto_json_stream.go
generated
vendored
@@ -111,7 +111,8 @@ func (s *ProtoJSONStream) Recv() (proto.Message, error) {
|
||||
// Initialize a new instance of the protobuf message to unmarshal the
|
||||
// raw data into.
|
||||
m := s.typ.New().Interface()
|
||||
err := protojson.Unmarshal(raw, m)
|
||||
unm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}
|
||||
err := unm.Unmarshal(raw, m)
|
||||
|
||||
return m, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user