From b80c7a7f3fda3b8228983280873fff6897fa2fd4 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Fri, 6 Sep 2019 17:10:28 +0800 Subject: [PATCH] Update ELB v1 client --- huaweicloud/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/huaweicloud/config.go b/huaweicloud/config.go index 4a5ad3eb88..a2a8b6edba 100644 --- a/huaweicloud/config.go +++ b/huaweicloud/config.go @@ -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(), })