Skip to content

Commit

Permalink
Revert "Update ELB v1 client"
Browse files Browse the repository at this point in the history
  • Loading branch information
niuzhenguo authored Sep 9, 2019
1 parent 48984b3 commit 8b54946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion huaweicloud/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ func (c *Config) fwV2Client(region string) (*golangsdk.ServiceClient, error) {
}

func (c *Config) loadElasticLoadBalancerClient(region string) (*golangsdk.ServiceClient, error) {
return huaweisdk.NewELBV1(c.HwClient, golangsdk.EndpointOpts{
return huaweisdk.NewElasticLoadBalancer(c.HwClient, golangsdk.EndpointOpts{
Region: c.determineRegion(region),
Availability: c.getHwEndpointType(),
})
Expand Down

0 comments on commit 8b54946

Please sign in to comment.