From 7035fc5c51ae414941d217b9189474d186ea01bf Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 19 Mar 2021 07:05:02 +0000 Subject: [PATCH] Modify the helpUrl parameter of OnsTopicList and OnsGroupList API to be invisible. --- CHANGELOG | 3 +++ VERSION | 2 +- ons/src/OnsClient.cc | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index c67d7c5f1..e83fcd6db 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-03-19 Version: 1.36.645 +- Modify the helpUrl parameter of OnsTopicList and OnsGroupList API to be invisible. + 2021-03-19 Version: 1.36.644 - Export new API. diff --git a/VERSION b/VERSION index 82e4faa8c..3ba2050b8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.644 \ No newline at end of file +1.36.645 \ No newline at end of file diff --git a/ons/src/OnsClient.cc b/ons/src/OnsClient.cc index 0a554a09f..16567a848 100644 --- a/ons/src/OnsClient.cc +++ b/ons/src/OnsClient.cc @@ -31,21 +31,21 @@ OnsClient::OnsClient(const Credentials &credentials, const ClientConfiguration & RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) { auto locationClient = std::make_shared(credentials, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "ons"); } OnsClient::OnsClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) { auto locationClient = std::make_shared(credentialsProvider, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "ons"); } OnsClient::OnsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) { auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "ons"); } OnsClient::~OnsClient()