Skip to content

Commit

Permalink
fix bug: logical switch ts not ready
Browse files Browse the repository at this point in the history
  • Loading branch information
lut777 committed Oct 29, 2021
1 parent 5c888ae commit e7aeb96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/ovn-ic.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func (c *Controller) stopOVNIC() error {
func (c *Controller) waitTsReady() error {
retry := 6
for retry > 0 {
exists, err := c.ovnClient.LogicalSwitchExists(util.InterconnectionSwitch, c.config.EnableExternalVpc)
exists, err := c.ovnClient.LogicalSwitchExists(util.InterconnectionSwitch, false)
if err != nil {
klog.Errorf("failed to list logical switch, %v", err)
return err
Expand Down

0 comments on commit e7aeb96

Please sign in to comment.