mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Change runtime.Object signature
This commit is contained in:
@@ -30,4 +30,4 @@ type TestStruct struct {
|
||||
IntList []int `json:"IntList"`
|
||||
}
|
||||
|
||||
func (ts *TestStruct) IsAnAPIObject() {}
|
||||
func (obj *TestStruct) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta }
|
||||
|
||||
Reference in New Issue
Block a user