mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-04 14:10:53 +00:00
vendor: update google/cadvisor and opencontainers/runc
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
7
vendor/google.golang.org/protobuf/encoding/protojson/decode.go
generated
vendored
7
vendor/google.golang.org/protobuf/encoding/protojson/decode.go
generated
vendored
@@ -52,6 +52,13 @@ type UnmarshalOptions struct {
|
||||
// setting the fields. If it returns an error, the given message may be
|
||||
// partially set.
|
||||
func (o UnmarshalOptions) Unmarshal(b []byte, m proto.Message) error {
|
||||
return o.unmarshal(b, m)
|
||||
}
|
||||
|
||||
// unmarshal is a centralized function that all unmarshal operations go through.
|
||||
// For profiling purposes, avoid changing the name of this function or
|
||||
// introducing other code paths for unmarshal that do not go through this.
|
||||
func (o UnmarshalOptions) unmarshal(b []byte, m proto.Message) error {
|
||||
proto.Reset(m)
|
||||
|
||||
if o.Resolver == nil {
|
||||
|
||||
Reference in New Issue
Block a user