Move APIs and core code to use metav1.ObjectMeta
This commit is contained in:
@@ -25,7 +25,7 @@ import (
|
||||
|
||||
type TestType struct {
|
||||
metav1.TypeMeta
|
||||
api.ObjectMeta
|
||||
metav1.ObjectMeta
|
||||
Status TestTypeStatus
|
||||
}
|
||||
|
||||
|
@@ -30,7 +30,7 @@ type TestType struct {
|
||||
// unversioned objects in the generate file that is not used anywhere other than this test type.
|
||||
// +k8s:openapi-gen=false
|
||||
// +optional
|
||||
apiv1.ObjectMeta `json:"metadata,omitempty"`
|
||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||
// +optional
|
||||
Status TestTypeStatus `json:"status,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user