Skip to content

Commit d26b319

Browse files
author
jennybuckley
committed
RawExtension.Raw json:"-"
1 parent 269183a commit d26b319

File tree

1 file changed

+1
-1
lines changed
  • staging/src/k8s.io/apimachinery/pkg/runtime

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apimachinery/pkg/runtime/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ type RawExtension struct {
9595
// Raw is the underlying serialization of this object.
9696
//
9797
// TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data.
98-
Raw []byte `protobuf:"bytes,1,opt,name=raw"`
98+
Raw []byte `json:"-" protobuf:"bytes,1,opt,name=raw"`
9999
// Object can hold a representation of this extension - useful for working with versioned
100100
// structs.
101101
Object Object `json:"-"`

0 commit comments

Comments
 (0)