mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Remove json:",omitempty" where json:",inline" specified.
Signed-off-by: Morlay <morlay.null@gmail.com>
This commit is contained in:
parent
5e331569e4
commit
f9b69ce108
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user