Browse Source

Support odcap device.

sdk-team 5 năm trước cách đây
mục cha
commit
4edd799a79
3 tập tin đã thay đổi với 7 bổ sung4 xóa
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 3 3
      vs/src/VsClient.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2021-09-26 Version: 1.36.888
+- Support odcap device.
+
 2021-09-26 Version: 1.36.887
 - Support odcap device.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.887
+1.36.888

+ 3 - 3
vs/src/VsClient.cc

@@ -31,21 +31,21 @@ VsClient::VsClient(const Credentials &credentials, const ClientConfiguration &co
 	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, "vs");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 VsClient::VsClient(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, "vs");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 VsClient::VsClient(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, "vs");
+	endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
 }
 
 VsClient::~VsClient()