Skip to content

Commit

Permalink
fix LSP existence check
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Apr 17, 2023
1 parent f84343e commit b1a3ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ func (c *Controller) reconcileOvnDefaultVpcRoute(subnet *kubeovnv1.Subnet) error
return err
}

if exist {
if !exist {
klog.Errorf("lsp does not exist for pod %v, please delete the pod and retry", port)
continue
}
Expand Down

0 comments on commit b1a3ce1

Please sign in to comment.