mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-19 17:30:33 +00:00
When using runtime.Object and runtime.RawExtension, passing runtime.Unknown to protobuf serializer should result in the raw message being serialized (since all normal protobuf objects are runtime.Unknown). Also, avoid setting a content-type when decoding a protobuf object except when the content appears to be proto.