mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
fixes TestNestedEncodeError test
This commit is contained in:
parent
52de201b0f
commit
034868e6af
@ -108,8 +108,9 @@ func TestNestedEncodeError(t *testing.T) {
|
||||
gvk1 := schema.GroupVersionKind{Kind: "test", Group: "other", Version: "v1"}
|
||||
gvk2 := schema.GroupVersionKind{Kind: "test", Group: "other", Version: "v2"}
|
||||
n.SetGroupVersionKind(gvk1)
|
||||
encoder := &mockSerializer{obj: n}
|
||||
codec := NewCodec(
|
||||
nil, nil,
|
||||
encoder, nil,
|
||||
&mockConvertor{},
|
||||
nil,
|
||||
&mockTyper{gvks: []schema.GroupVersionKind{gvk1, gvk2}},
|
||||
|
Loading…
Reference in New Issue
Block a user