Skip to content

Commit

Permalink
Merge pull request #204 from niuzhenguo/update-elb-client
Browse files Browse the repository at this point in the history
Update ELB v1 client
  • Loading branch information
niuzhenguo authored Sep 6, 2019
2 parents 160840a + b80c7a7 commit 48984b3
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.NewElasticLoadBalancer(c.HwClient, golangsdk.EndpointOpts{
return huaweisdk.NewELBV1(c.HwClient, golangsdk.EndpointOpts{
Region: c.determineRegion(region),
Availability: c.getHwEndpointType(),
})
Expand Down

0 comments on commit 48984b3

Please sign in to comment.