From 07640698f0d90abbbe50a4e9672651cff2e346a0 Mon Sep 17 00:00:00 2001 From: SkalaNetworks Date: Mon, 19 Aug 2024 07:00:51 -0400 Subject: [PATCH] fix(bgp): err handling print Signed-off-by: SkalaNetworks --- pkg/controller/vpc_nat_gateway.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controller/vpc_nat_gateway.go b/pkg/controller/vpc_nat_gateway.go index 425bcb75a93..a3afbcb7613 100644 --- a/pkg/controller/vpc_nat_gateway.go +++ b/pkg/controller/vpc_nat_gateway.go @@ -825,6 +825,7 @@ func (c *Controller) genNatGwStatefulSet(gw *kubeovnv1.VpcNatGateway, oldSts *v1 // Add an interface that can reach the API server, we need access to it to probe Kube-OVN resources if gw.Spec.BgpSpeaker.Enabled { if err := c.setNatGwAPIAccess(podAnnotations, externalNetworkNad); err != nil { + klog.Error(err) return nil, err } }