Skip to content

Commit

Permalink
replace acl/address_set function call with ovnClient
Browse files Browse the repository at this point in the history
  • Loading branch information
gugulee committed Apr 13, 2023
1 parent 148f1bf commit d0fccf9
Show file tree
Hide file tree
Showing 12 changed files with 935 additions and 1,114 deletions.
93 changes: 61 additions & 32 deletions mocks/pkg/ovs/interface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/controller/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,8 +772,8 @@ func (c *Controller) migrateNodeRoute(af int, node, ip, nexthop string) error {
return err
}

if err := c.ovnLegacyClient.DeleteAddressSet(asName); err != nil {
klog.Errorf("failed to delete obsolete address set %s for node %s: %v", asName, node, err)
if err := c.ovnClient.DeleteAddressSet(asName); err != nil {
klog.Errorf("delete obsolete address set %s for node %s: %v", asName, node, err)
return err
}

Expand Down
Loading

0 comments on commit d0fccf9

Please sign in to comment.