Skip to content

Commit a955929

Browse files
committed
Revert "Temporary fix for connection with greengrass china endpoint"
This reverts commit 88fc959.
1 parent 88fc959 commit a955929

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

discovery/source/DiscoveryClient.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ namespace Aws
3131
Crt::StringStream ss;
3232
ss << "greengrass-ats.iot." << clientConfig.Region << ".amazonaws.com";
3333

34-
// Temporary fix for connection with china endpoint
35-
if (clientConfig.Region == "cn-north-1")
36-
{
37-
ss << ".cn";
38-
}
39-
4034
Crt::Io::TlsConnectionOptions tlsConnectionOptions = clientConfig.TlsContext->NewConnectionOptions();
4135
uint16_t port = 443;
4236

0 commit comments

Comments
 (0)