mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #124859 from morlay/master
Remove json:",omitempty" where json:",inline" specified.
This commit is contained in:
commit
73198f893c
@ -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