Skip to content

Commit

Permalink
add support for CN region (#934)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Li <zhiqinli@amazon.com>

Signed-off-by: Alex Li <zhiqinli@amazon.com>
  • Loading branch information
codingspirit committed Jan 18, 2023
1 parent 70f74f1 commit 8867047
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DefaultCallbackProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,10 @@ DefaultCallbackProvider::DefaultCallbackProvider(
+ "."
+ region_
+ CONTROL_PLANE_URI_POSTFIX;
// If region is in CN, add CN region uri postfix
if(region_.rfind("cn-", 0) == 0) {
control_plane_uri_ += ".cn";
}
}

getStreamCallbacks();
Expand Down

0 comments on commit 8867047

Please sign in to comment.