Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: oilbeater <[email protected]>
  • Loading branch information
oilbeater committed Feb 5, 2024
1 parent 54f72e3 commit d3ef892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (c *Controller) InitIPAM() error {
u2oInterconnLrpName := fmt.Sprintf("%s-%s", subnet.Spec.Vpc, subnet.Name)
if subnet.Status.U2OInterconnectionIP != "" {
if _, _, _, err = c.ipam.GetStaticAddress(u2oInterconnName, u2oInterconnLrpName, subnet.Status.U2OInterconnectionIP, nil, subnet.Name, true); err != nil {
klog.Errorf("failed to init subnet %q u2o interonnection ip to ipam %v", subnet.Name, err)
klog.Errorf("failed to init subnet %q u2o interconnection ip to ipam %v", subnet.Name, err)
}
}
}
Expand Down Expand Up @@ -726,7 +726,7 @@ func (c *Controller) migrateNodeRoute(af int, node, ip, nexthop string) error {
"node": node,
}
)
klog.V(3).Infof("add policy route for router: %s, priority: %d, match %s, action %s, nexthop %s, extrenalID %v",
klog.V(3).Infof("add policy route for router: %s, priority: %d, match %s, action %s, nexthop %s, externalID %v",
c.config.ClusterRouter, util.NodeRouterPolicyPriority, match, action, nexthop, externalIDs)
if err := c.addPolicyRouteToVpc(
c.config.ClusterRouter,
Expand Down

0 comments on commit d3ef892

Please sign in to comment.