From 10f3f3ed1719a018955a1aca2c81352d89b58456 Mon Sep 17 00:00:00 2001 From: bobz965 Date: Thu, 23 Nov 2023 11:33:11 +0800 Subject: [PATCH] fix ut Signed-off-by: bobz965 --- pkg/ovs/ovn-nb-bfd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ovs/ovn-nb-bfd.go b/pkg/ovs/ovn-nb-bfd.go index ea1d0b5a112..6d1b4da3fcb 100644 --- a/pkg/ovs/ovn-nb-bfd.go +++ b/pkg/ovs/ovn-nb-bfd.go @@ -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)