From 3f0e3c3e9a429ee19c87e1d7d0540ec4d28013ea Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 23 Oct 2024 09:57:47 +0000 Subject: [PATCH] Update Endpoint. --- VERSION | 2 +- gwlb/src/GwlbClient.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index c887b7e3d..e319cd2f8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.2004 \ No newline at end of file +1.36.2005 \ No newline at end of file diff --git a/gwlb/src/GwlbClient.cc b/gwlb/src/GwlbClient.cc index 6a1000e2f..c99676759 100644 --- a/gwlb/src/GwlbClient.cc +++ b/gwlb/src/GwlbClient.cc @@ -31,21 +31,21 @@ GwlbClient::GwlbClient(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, "gwlb"); } GwlbClient::GwlbClient(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, "gwlb"); } GwlbClient::GwlbClient(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, "gwlb"); } GwlbClient::~GwlbClient()