Skip to content

Commit 9a3cea6

Browse files
authored
fix: correct local mode behavior for CN regions (#1390)
1 parent eab450d commit 9a3cea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from six.moves.urllib import parse
3333

3434

35-
ECR_URI_PATTERN = r"^(\d+)(\.)dkr(\.)ecr(\.)(.+)(\.)(amazonaws.com|c2s.ic.gov)(/)(.*:.*)$"
35+
ECR_URI_PATTERN = r"^(\d+)(\.)dkr(\.)ecr(\.)(.+)(\.)(.*)(/)(.*:.*)$"
3636
MAX_BUCKET_PATHS_COUNT = 5
3737
S3_PREFIX = "s3://"
3838
HTTP_PREFIX = "http://"

0 commit comments

Comments
 (0)