mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
Rename RawJSON to Raw in runtime.RawExtension and add ContentType & ContentEncoding.
This commit is contained in:
@@ -114,8 +114,8 @@ func TestExtractListGeneric(t *testing.T) {
|
||||
func TestExtractListGenericV1(t *testing.T) {
|
||||
pl := &v1.List{
|
||||
Items: []runtime.RawExtension{
|
||||
{RawJSON: []byte("foo")},
|
||||
{RawJSON: []byte("bar")},
|
||||
{Raw: []byte("foo")},
|
||||
{Raw: []byte("bar")},
|
||||
{Object: &v1.Pod{ObjectMeta: v1.ObjectMeta{Name: "other"}}},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user