@@ -236,7 +236,7 @@ const (
236236
237237// MachineTemplateSpec describes the data needed to create a Machine from a template.
238238type MachineTemplateSpec struct {
239- // Standard object's metadata.
239+ // metadata is the standard object's metadata.
240240 // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
241241 // +optional
242242 ObjectMeta `json:"metadata,omitempty"`
@@ -419,7 +419,9 @@ func (m *MachineSet) Validate() field.ErrorList {
419419
420420// MachineSet is the Schema for the machinesets API.
421421type MachineSet struct {
422- metav1.TypeMeta `json:",inline"`
422+ metav1.TypeMeta `json:",inline"`
423+ // metadata is the standard object's metadata.
424+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
423425 metav1.ObjectMeta `json:"metadata,omitempty"`
424426
425427 // spec is the desired state of MachineSet.
@@ -459,6 +461,8 @@ func (m *MachineSet) SetV1Beta2Conditions(conditions []metav1.Condition) {
459461// MachineSetList contains a list of MachineSet.
460462type MachineSetList struct {
461463 metav1.TypeMeta `json:",inline"`
464+ // metadata is the standard list's metadata.
465+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#lists-and-simple-kinds
462466 metav1.ListMeta `json:"metadata,omitempty"`
463467 // items is the list of MachineSets.
464468 Items []MachineSet `json:"items"`
0 commit comments