Skip to content

Commit

Permalink
rm share
Browse files Browse the repository at this point in the history
  • Loading branch information
crimson-gao committed Feb 23, 2024
1 parent 0946ef5 commit b431e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/region_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func TestParseRegion(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "xx-test-acdr-ut-1", region)

region, err = ParseRegion("http://cn-hangzhou-share.log.aliyuncs.com")
region, err = ParseRegion("http://cn-hangzhou-intranet.log.aliyuncs.com")
assert.NoError(t, err)
assert.Equal(t, "cn-hangzhou", region)

Expand All @@ -23,7 +23,7 @@ func TestParseRegion(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "ap-southease-1", region)

region, err = ParseRegion("cn-shanghai-corp-share.sls.aliyuncs.com")
region, err = ParseRegion("cn-shanghai-corp.sls.aliyuncs.com")
assert.NoError(t, err)
assert.Equal(t, "cn-shanghai-corp", region)

Expand Down

0 comments on commit b431e4f

Please sign in to comment.