Skip to content

Commit

Permalink
Revert "Wrapped error is always nil"
Browse files Browse the repository at this point in the history
This reverts commit 2942845.
  • Loading branch information
dfarrell07 committed Sep 29, 2022
1 parent 507319f commit 260afb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 260afb3

Please sign in to comment.