Merge pull request #104559 from Huang-Wei/cleanup-json-tag

sched: remove unneeded json tags in unversioned API objs
This commit is contained in:
Kubernetes Prow Robot 2021-08-27 18:38:52 -07:00 committed by GitHub
commit 909c3db3ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,6 @@ type LabelPreference struct {
// RequestedToCapacityRatioArguments holds arguments specific to RequestedToCapacityRatio priority function.
type RequestedToCapacityRatioArguments struct {
// Array of point defining priority function shape.
Shape []UtilizationShapePoint `json:"shape"`
Resources []ResourceSpec `json:"resources,omitempty"`
Shape []UtilizationShapePoint
Resources []ResourceSpec
}