Bladeren bron

Supported multiple Language.

sdk-team 5 jaren geleden
bovenliggende
commit
c2e912302d
2 gewijzigde bestanden met toevoegingen van 6 en 3 verwijderingen
  1. 3 0
      CHANGELOG
  2. 3 3
      httpdns/src/HttpdnsClient.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2020-11-23 Version: patch
+- Supported multiple Language.
+
 2020-11-23 Version: patch
 - Add LivenessDetect API.
 

+ 3 - 3
httpdns/src/HttpdnsClient.cc

@@ -31,21 +31,21 @@ HttpdnsClient::HttpdnsClient(const Credentials &credentials, const ClientConfigu
 	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "httpdns");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 HttpdnsClient::HttpdnsClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
 	RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "httpdns");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 HttpdnsClient::HttpdnsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
 	RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
 {
 	auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
-	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "httpdns");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 HttpdnsClient::~HttpdnsClient()