Skip to content

Commit

Permalink
rename Resources to ResourceRequirement
Browse files Browse the repository at this point in the history
Co-authored-by: Jian Qiu <[email protected]>
  • Loading branch information
dongbeiqing91 and qiujian16 authored Jan 18, 2024
1 parent f0a8b03 commit fd5489a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/v1/types_klusterlet.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ type ResourceRequirement struct {
Type ResourceQosClass `json:"type"`
// Resources defines resource requests and limits when Type is ResourceQosClassResourceRequirement
// +optional
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
ResourceRequirement *corev1.ResourceRequirements `json:"resourceRequirement,omitempty"`
}

// ServerURL represents the apiserver url and ca bundle that is accessible externally
Expand Down

0 comments on commit fd5489a

Please sign in to comment.