Skip to content

Commit

Permalink
fix bug for deleting ovn-ic lrp failed
Browse files Browse the repository at this point in the history
(cherry picked from commit eced6ba)
  • Loading branch information
lut777 authored and oilbeater committed Jul 13, 2021
1 parent 1adb788 commit 10481d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controller/ovn-ic.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ func (c *Controller) resyncInterConnection() {
azName := ""
if cm != nil {
azName = cm.Data["az-name"]
} else if lastICCM != nil {
azName = lastICCM["az-name"]
}
if err := c.removeInterConnection(azName); err != nil {
klog.Errorf("failed to remove ovn-ic, %v", err)
Expand Down

0 comments on commit 10481d9

Please sign in to comment.