From 8b549464979ca2edf59044b0ef53e44eec20848d Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Mon, 9 Sep 2019 10:50:36 +0800 Subject: [PATCH] Revert "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 a2a8b6edba..4a5ad3eb88 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.NewELBV1(c.HwClient, golangsdk.EndpointOpts{ + return huaweisdk.NewElasticLoadBalancer(c.HwClient, golangsdk.EndpointOpts{ Region: c.determineRegion(region), Availability: c.getHwEndpointType(), })