Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: bobz965 <[email protected]>
  • Loading branch information
bobz965 committed Dec 4, 2023
1 parent f2df82b commit 10f3f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ovs/ovn-nb-bfd.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (c *OVNNbClient) DeleteBFD(lrpName, dstIP string) error {
}

for _, bfd := range bfdList {
ops, err := c.Where(bfd).Delete()
ops, err := c.Where(&bfd).Delete()
if err != nil {
err := fmt.Errorf("failed to generate operations for BFD deletion with UUID %s: %v", bfd.UUID, err)
klog.Error(err)
Expand Down

0 comments on commit 10f3f3e

Please sign in to comment.