Remove json:",omitempty" where json:",inline" specified.

Signed-off-by: Morlay <morlay.null@gmail.com>
This commit is contained in:
Morlay 2024-06-28 23:16:51 +08:00
parent 5e331569e4
commit f9b69ce108
6 changed files with 6 additions and 6 deletions

View File

@ -775,7 +775,7 @@ type IngressRule struct {
// default backend, is left to the controller fulfilling the Ingress. Http is
// currently the only supported IngressRuleValue.
// +optional
IngressRuleValue `json:",inline,omitempty" protobuf:"bytes,2,opt,name=ingressRuleValue"`
IngressRuleValue `json:",inline" protobuf:"bytes,2,opt,name=ingressRuleValue"`
}
// IngressRuleValue represents a rule to apply against incoming requests. If the

View File

@ -419,7 +419,7 @@ type IngressRule struct {
// default backend, is left to the controller fulfilling the Ingress. Http is
// currently the only supported IngressRuleValue.
// +optional
IngressRuleValue `json:",inline,omitempty" protobuf:"bytes,2,opt,name=ingressRuleValue"`
IngressRuleValue `json:",inline" protobuf:"bytes,2,opt,name=ingressRuleValue"`
}
// IngressRuleValue represents a rule to apply against incoming requests. If the

View File

@ -218,7 +218,7 @@ type IngressRule struct {
// default backend, is left to the controller fulfilling the Ingress. Http is
// currently the only supported IngressRuleValue.
// +optional
IngressRuleValue `json:",inline,omitempty" protobuf:"bytes,2,opt,name=ingressRuleValue"`
IngressRuleValue `json:",inline" protobuf:"bytes,2,opt,name=ingressRuleValue"`
}
// IngressRuleValue represents a rule to apply against incoming requests. If the

View File

@ -22,7 +22,7 @@ package v1beta1
// with apply.
type IngressRuleApplyConfiguration struct {
Host *string `json:"host,omitempty"`
IngressRuleValueApplyConfiguration `json:",omitempty,inline"`
IngressRuleValueApplyConfiguration `json:",inline"`
}
// IngressRuleApplyConfiguration constructs a declarative configuration of the IngressRule type for use with

View File

@ -22,7 +22,7 @@ package v1
// with apply.
type IngressRuleApplyConfiguration struct {
Host *string `json:"host,omitempty"`
IngressRuleValueApplyConfiguration `json:",omitempty,inline"`
IngressRuleValueApplyConfiguration `json:",inline"`
}
// IngressRuleApplyConfiguration constructs a declarative configuration of the IngressRule type for use with

View File

@ -22,7 +22,7 @@ package v1beta1
// with apply.
type IngressRuleApplyConfiguration struct {
Host *string `json:"host,omitempty"`
IngressRuleValueApplyConfiguration `json:",omitempty,inline"`
IngressRuleValueApplyConfiguration `json:",inline"`
}
// IngressRuleApplyConfiguration constructs a declarative configuration of the IngressRule type for use with