From daa7f523e0f8ba13b16127c8489223ffbc3b60f0 Mon Sep 17 00:00:00 2001 From: mdryaan Date: Tue, 12 May 2026 05:42:59 +0530 Subject: [PATCH] fix: return nil explicitly in SliceGateway NONET early-exit path Signed-off-by: mdryaan --- controllers/slicegateway/reconciler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/slicegateway/reconciler.go b/controllers/slicegateway/reconciler.go index c96ae4807..404f6b7af 100644 --- a/controllers/slicegateway/reconciler.go +++ b/controllers/slicegateway/reconciler.go @@ -134,7 +134,7 @@ func (r *SliceGwReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct if slice.Status.SliceConfig != nil && slice.Status.SliceConfig.SliceOverlayNetworkDeploymentMode == v1alpha1.NONET { log.Info("No communication slice. Skipping slicegw reconcilation") - return ctrl.Result{}, err + return ctrl.Result{}, nil } // Check if slice router network service endpoint (NSE) is present before spawning slice gateway pod.