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(), })