cri: Vendor v0.27.0-beta.0 for mounts uid/gid mappings
We will use this in future commits to see if the kubelet requested idmap mounts for volumes, that we don't yet support. Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
This commit is contained in:
		
							
								
								
									
										8
									
								
								vendor/github.com/golang/protobuf/jsonpb/decode.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/github.com/golang/protobuf/jsonpb/decode.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -386,8 +386,14 @@ func (u *Unmarshaler) unmarshalMessage(m protoreflect.Message, in []byte) error
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func isSingularWellKnownValue(fd protoreflect.FieldDescriptor) bool {
 | 
			
		||||
	if fd.Cardinality() == protoreflect.Repeated {
 | 
			
		||||
		return false
 | 
			
		||||
	}
 | 
			
		||||
	if md := fd.Message(); md != nil {
 | 
			
		||||
		return md.FullName() == "google.protobuf.Value" && fd.Cardinality() != protoreflect.Repeated
 | 
			
		||||
		return md.FullName() == "google.protobuf.Value"
 | 
			
		||||
	}
 | 
			
		||||
	if ed := fd.Enum(); ed != nil {
 | 
			
		||||
		return ed.FullName() == "google.protobuf.NullValue"
 | 
			
		||||
	}
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user