From 2c3a196aa4837d7c2cdf09a493d263e542a3b601 Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Tue, 24 Aug 2021 15:47:34 -0700 Subject: [PATCH] sched: remove unneeded json tags in unversioned API objs --- pkg/scheduler/apis/config/legacy_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scheduler/apis/config/legacy_types.go b/pkg/scheduler/apis/config/legacy_types.go index 80ff73671c5..576379c1e7f 100644 --- a/pkg/scheduler/apis/config/legacy_types.go +++ b/pkg/scheduler/apis/config/legacy_types.go @@ -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 }