From 9ab93c077780970b9de4cd08e6ac4d0d00afabb0 Mon Sep 17 00:00:00 2001 From: Morlay Date: Fri, 28 Jun 2024 23:16:51 +0800 Subject: [PATCH] Remove json:",omitempty" where json:",inline" specified. Signed-off-by: Morlay Kubernetes-commit: f9b69ce10847a31626c364d3d86bf361b16456b2 --- applyconfigurations/extensions/v1beta1/ingressrule.go | 2 +- applyconfigurations/networking/v1/ingressrule.go | 2 +- applyconfigurations/networking/v1beta1/ingressrule.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/applyconfigurations/extensions/v1beta1/ingressrule.go b/applyconfigurations/extensions/v1beta1/ingressrule.go index dc0f93aa..dc676f7b 100644 --- a/applyconfigurations/extensions/v1beta1/ingressrule.go +++ b/applyconfigurations/extensions/v1beta1/ingressrule.go @@ -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 diff --git a/applyconfigurations/networking/v1/ingressrule.go b/applyconfigurations/networking/v1/ingressrule.go index a8c83f8e..4ef871f0 100644 --- a/applyconfigurations/networking/v1/ingressrule.go +++ b/applyconfigurations/networking/v1/ingressrule.go @@ -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 diff --git a/applyconfigurations/networking/v1beta1/ingressrule.go b/applyconfigurations/networking/v1beta1/ingressrule.go index dc0f93aa..dc676f7b 100644 --- a/applyconfigurations/networking/v1beta1/ingressrule.go +++ b/applyconfigurations/networking/v1beta1/ingressrule.go @@ -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