Skip to content

Commit

Permalink
do not wait dynamic address for pod (#1800)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongzhen-ma authored Aug 12, 2022
1 parent 2b34fd5 commit a7f499d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ func (c *Controller) handleDeletePod(pod *v1.Pod) error {

// there's some case which can not delete static route by ipam for sts pod when upgrading from lower version
for _, lsp := range ports {
addrs, err := c.ovnClient.GetPortAddr(lsp)
addrs, err := c.ovnClient.GetLogicalSwitchPortAddress(lsp)
if err != nil {
if err != ovs.ErrNoAddr {
klog.Errorf("failed to get addr for lsp %s, %v", lsp, err)
Expand Down

0 comments on commit a7f499d

Please sign in to comment.