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