Skip to content

Commit

Permalink
Update pkg/controller/ovn_fip.go
Browse files Browse the repository at this point in the history
Co-authored-by: 张祖建 <[email protected]>
Signed-off-by: HuangWei <[email protected]>
  • Loading branch information
a180285 and zhangzujian committed Jan 24, 2024
1 parent b31836f commit 5faa3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/ovn_fip.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func (c *Controller) handleUpdateOvnFip(key string) error {
return err
}
// ovn add fip
if vpcName == util.DefaultVpc {
if vpcName == c.config.ClusterRouter {
// fix issue https://github.com/kubeovn/kube-ovn/issues/3502
// Where ovn fip is not work for default vpc
match := fmt.Sprintf("ip4.src == %s", internalV4Ip)
Expand Down

0 comments on commit 5faa3d4

Please sign in to comment.