File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11export const regionMap = {
2- global : 'global' ,
32 southeastAsiaPacific1 : 'ap-bangkok' ,
43 southeastAsiaPacific2 : 'ap-jakarta' ,
54 northChina : 'ap-beijing' ,
@@ -24,7 +23,6 @@ export const regionMap = {
2423}
2524
2625const {
27- global,
2826 southeastAsiaPacific1,
2927 southeastAsiaPacific2,
3028 northChina,
@@ -49,7 +47,6 @@ const {
4947} = regionMap
5048
5149export default [
52- global ,
5350 southeastAsiaPacific1 ,
5451 southeastAsiaPacific2 ,
5552 northChina ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { SubAccountInfo } from 'tencentcloud-sdk-nodejs/tencentcloud/services/ca
77import loggerText from '../../properties/logger'
88import { TencentServiceInput } from '../../types'
99import { initTestEndpoint , generateTencentErrorLog } from '../../utils'
10- import { regionMap } from '../../enums/regions '
10+ import { GLOBAL_REGION } from '../../config/constants '
1111
1212const lt = { ...loggerText }
1313const { logger } = CloudGraph
@@ -39,7 +39,7 @@ export default async ({
3939 camUserList . push ( {
4040 id : `${ instance . Uid } ` ,
4141 ...instance ,
42- region : regionMap . global ,
42+ region : GLOBAL_REGION ,
4343 } )
4444 }
4545 }
You can’t perform that action at this time.
0 commit comments