Skip to content

Commit

Permalink
Fix for issue 2554
Browse files Browse the repository at this point in the history
  • Loading branch information
Talby committed Jul 10, 2023
1 parent 94cc9d0 commit 9253f0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ BatchGetItemOutcome DynamoDBClient::BatchGetItem(const BatchGetItemRequest& requ
AWS_OPERATION_GUARD(BatchGetItem);
AWS_OPERATION_CHECK_PTR(m_endpointProvider, BatchGetItem, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
ResolveEndpointOutcome endpointResolutionOutcome = Aws::Endpoint::AWSEndpoint();
const bool enableEndpointDiscovery = m_clientConfiguration.enableEndpointDiscovery && m_clientConfiguration.enableEndpointDiscovery.value();
const bool enableEndpointDiscovery = m_clientConfiguration.enableEndpointDiscovery && m_clientConfiguration.enableEndpointDiscovery.value() && m_clientConfiguration.endpointOverride.empty();
if (enableEndpointDiscovery)
{
Aws::String endpointKey = "Shared";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#if($serviceModel.endpointRules)
#if($operation.hasEndpointDiscoveryTrait)
ResolveEndpointOutcome endpointResolutionOutcome = Aws::Endpoint::AWSEndpoint();
const bool enableEndpointDiscovery = m_clientConfiguration.enableEndpointDiscovery && m_clientConfiguration.enableEndpointDiscovery.value();
const bool enableEndpointDiscovery = m_clientConfiguration.enableEndpointDiscovery && m_clientConfiguration.enableEndpointDiscovery.value() && m_clientConfiguration.endpointOverride.empty();
if (enableEndpointDiscovery)
{
#set($hasId=false)
Expand Down

0 comments on commit 9253f0a

Please sign in to comment.