Skip to content

Commit

Permalink
Merge pull request ovn-kubernetes#4979 from trozet/suppress_remote_no…
Browse files Browse the repository at this point in the history
…de_ic

Fix missing error wrap on IC remote node add
  • Loading branch information
tssurya authored Jan 20, 2025
2 parents 94b6fb9 + e8a0e68 commit acc803c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ func (oc *SecondaryLayer3NetworkController) addUpdateRemoteNodeEvent(node *kapi.
var err error
if syncZoneIc && config.OVNKubernetesFeature.EnableInterconnect {
if err = oc.zoneICHandler.AddRemoteZoneNode(node); err != nil {
err = fmt.Errorf("failed to add the remote zone node [%s] to the zone interconnect handler, err : %v", node.Name, err)
err = fmt.Errorf("failed to add the remote zone node [%s] to the zone interconnect handler, err : %w", node.Name, err)
oc.syncZoneICFailed.Store(node.Name, true)
} else {
oc.syncZoneICFailed.Delete(node.Name)
Expand Down

0 comments on commit acc803c

Please sign in to comment.