Skip to content

Commit

Permalink
fix vpc lb init (#3046)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobz965 authored and zhangzujian committed Jul 19, 2023
1 parent 03f94a5 commit c1a8d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/vpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func (c *Controller) addLoadBalancer(vpc string) (*VpcLoadBalancer, error) {
if err := c.initLB(vpcLbConfig.TcpLoadBalancer, string(v1.ProtocolTCP), false); err != nil {
return nil, err
}
if err := c.initLB(vpcLbConfig.TcpSessLoadBalancer, string(v1.ProtocolTCP), false); err != nil {
if err := c.initLB(vpcLbConfig.TcpSessLoadBalancer, string(v1.ProtocolTCP), true); err != nil {
return nil, err
}
if err := c.initLB(vpcLbConfig.UdpLoadBalancer, string(v1.ProtocolUDP), false); err != nil {
Expand Down

0 comments on commit c1a8d92

Please sign in to comment.