From 260afb34fadd1cc4c9b9647b377d2242fdd88333 Mon Sep 17 00:00:00 2001 From: Daniel Farrell Date: Thu, 29 Sep 2022 12:57:43 -0400 Subject: [PATCH] Revert "Wrapped error is always nil" This reverts commit 2942845f7c99ae8133cb7d902684a4309bf0f801. --- .../handlers/ovn/ovn_submariner_infrastructure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/networkplugin-syncer/handlers/ovn/ovn_submariner_infrastructure.go b/pkg/networkplugin-syncer/handlers/ovn/ovn_submariner_infrastructure.go index 26bc74ddd..be43fbb57 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/ovn_submariner_infrastructure.go +++ b/pkg/networkplugin-syncer/handlers/ovn/ovn_submariner_infrastructure.go @@ -48,7 +48,7 @@ func (ovn *SyncHandler) ensureSubmarinerInfra() error { } if len(lbGroups) > 1 { - return errors.New("found more than one ovn load balancer group") + return errors.Wrap(err, "Found more than one ovn load balancer group") } ovnLogicalRouter := nbdb.LogicalRouter{