Skip to content

Commit

Permalink
Merge pull request #205 from terraform-providers/revert-204-update-el…
Browse files Browse the repository at this point in the history
…b-client

Revert "Update ELB v1 client"
  • Loading branch information
niuzhenguo authored Sep 9, 2019
2 parents 48984b3 + 8b54946 commit d4a5cda
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 d4a5cda

Please sign in to comment.